X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fuimanager.h;h=d5cfbb8f3c119e4ed1d8ce8c09a99b4db636102b;hb=c3ad95144d148602f672e95ddda1f18fc35502f8;hp=7c9f1bd723e969f45c9532aa11ab98fa3a8b9e5e;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/uimanager.h b/synfig-studio/trunk/src/synfigapp/uimanager.h index 7c9f1bd..d5cfbb8 100644 --- a/synfig-studio/trunk/src/synfigapp/uimanager.h +++ b/synfig-studio/trunk/src/synfigapp/uimanager.h @@ -59,40 +59,40 @@ public: class DefaultUIInterface : public UIInterface { public: - Response yes_no(const std::string &title, const std::string &message,Response dflt) + Response yes_no(const std::string &/*title*/, const std::string &/*message*/,Response dflt) { return dflt; } - Response yes_no_cancel(const std::string &title, const std::string &message,Response dflt) + Response yes_no_cancel(const std::string &/*title*/, const std::string &/*message*/,Response dflt) { return dflt; } - Response ok_cancel(const std::string &title, const std::string &message,Response dflt) + Response ok_cancel(const std::string &/*title*/, const std::string &/*message*/,Response dflt) { return dflt; } - bool task(const std::string &task) + bool task(const std::string &/*task*/) { return true; } - bool error(const std::string &task) + bool error(const std::string &/*task*/) { return true; } - bool warning(const std::string &task) + bool warning(const std::string &/*task*/) { return true; } - bool amount_complete(int current, int total) + bool amount_complete(int /*current*/, int /*total*/) { return true; } }; class ConfidentUIInterface : public UIInterface { public: - Response yes_no(const std::string &title, const std::string &message,Response dflt) + Response yes_no(const std::string &/*title*/, const std::string &/*message*/,Response /*dflt*/) { return RESPONSE_YES; } - Response yes_no_cancel(const std::string &title, const std::string &message,Response dflt) + Response yes_no_cancel(const std::string &/*title*/, const std::string &/*message*/,Response /*dflt*/) { return RESPONSE_YES; } - Response ok_cancel(const std::string &title, const std::string &message,Response dflt) + Response ok_cancel(const std::string &/*title*/, const std::string &/*message*/,Response /*dflt*/) { return RESPONSE_OK; } - bool task(const std::string &task) + bool task(const std::string &/*task*/) { return true; } - bool error(const std::string &task) + bool error(const std::string &/*task*/) { return true; } - bool warning(const std::string &task) + bool warning(const std::string &/*task*/) { return true; } - bool amount_complete(int current, int total) + bool amount_complete(int /*current*/, int /*total*/) { return true; } };