-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
/*! \file template.cpp
** \brief Template File
**
using namespace std;
using namespace etl;
-using namespace sinfg;
+using namespace synfig;
/* === M A C R O S ========================================================= */
std::runtime_error(what)
// std::runtime_error(_("Bad Link Name")+what.empty()?"":(String(": ")+what))
{
- sinfg::error("EXCEPTION: bad link name: "+what);
+ synfig::error("EXCEPTION: bad link name: "+what);
}
Exception::BadType::BadType(const String &what):
std::runtime_error(what)
// std::runtime_error(_("Bad Type")+what.empty()?"":(String(": ")+what))
{
- sinfg::error("EXCEPTION: bad type: "+what);
+ synfig::error("EXCEPTION: bad type: "+what);
}
Exception::BadFrameRate::BadFrameRate(const String &what):
std::runtime_error(what)
// std::runtime_error(_("Bad Link Name")+what.empty()?"":(String(": ")+what))
{
- sinfg::error("EXCEPTION: bad frame rate: "+what);
+ synfig::error("EXCEPTION: bad frame rate: "+what);
}
Exception::BadTime::BadTime(const String &what):
std::runtime_error(what)
// std::runtime_error(_("Bad Link Name")+what.empty()?"":(String(": ")+what))
{
- sinfg::error("EXCEPTION: bad time: "+what);
+ synfig::error("EXCEPTION: bad time: "+what);
}
Exception::NotFound::NotFound(const String &what):
std::runtime_error(what)
// std::runtime_error(_("Not Found")+what.empty()?"":(String(": ")+what))
{
-// sinfg::error("EXCEPTION: not found: "+what);
+// synfig::error("EXCEPTION: not found: "+what);
}
Exception::IDNotFound::IDNotFound(const String &what):
NotFound(what)
// std::runtime_error(_("Not Found")+what.empty()?"":(String(": ")+what))
{
-// sinfg::error("EXCEPTION: not found: "+what);
+// synfig::error("EXCEPTION: not found: "+what);
}
Exception::FileNotFound::FileNotFound(const String &what):
NotFound(what)
// std::runtime_error(_("Not Found")+what.empty()?"":(String(": ")+what))
{
- sinfg::error("EXCEPTION: file not found: "+what);
+ synfig::error("EXCEPTION: file not found: "+what);
}
Exception::IDAlreadyExists::IDAlreadyExists(const String &what):
std::runtime_error(what)
// std::runtime_error(_("ID Already Exists")+what.empty()?"":(String(": ")+what))
{
- sinfg::error("EXCEPTION: id already exists: "+what);
+ synfig::error("EXCEPTION: id already exists: "+what);
}