Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-studio / tags / stable / src / synfigapp / uimanager.cpp
index 7ec30f6..68a39a1 100644 (file)
@@ -33,6 +33,8 @@
 #include <iostream>
 #include <string>
 
+#include "general.h"
+
 #endif
 
 /* === U S I N G =========================================================== */
@@ -74,7 +76,7 @@ ConsoleUIInterface::yes_no(const std::string &title, const std::string &message,
 }
 
 UIInterface::Response
-ConsoleUIInterface::yes_no_cancel(const string &title, const string &message,Response dflt)
+ConsoleUIInterface::yes_no_cancel(const std::string &title, const std::string &message, Response dflt)
 {
        cout<<title<<": "<<message<<' ';
        if(dflt==RESPONSE_NO)
@@ -149,7 +151,7 @@ ConsoleUIInterface::warning(const std::string &task)
 }
 
 bool
-ConsoleUIInterface::amount_complete(int current, int total)
+ConsoleUIInterface::amount_complete(int /*current*/, int /*total*/)
 {
        return true;
 }