move translation function _ to qtui.h/noui.h instead of util.h
[novacoin.git] / src / noui.h
index e4faa2e..4010ec3 100644 (file)
@@ -6,7 +6,6 @@
 #define BITCOIN_NOUI_H
 
 #include <string>
-#include <boost/function.hpp>
 #include "wallet.h"
 
 typedef void wxWindow;
@@ -55,14 +54,6 @@ inline bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption,
     return true;
 }
 
-inline void CalledSetStatusBar(const std::string& strText, int nField)
-{
-}
-
-inline void UIThreadCall(boost::function0<void> fn)
-{
-}
-
 inline void MainFrameRepaint()
 {
 }
@@ -75,4 +66,9 @@ inline void InitMessage(const std::string &message)
 {
 }
 
+inline const char* _(const char* psz)
+{
+    return psz;
+}
+
 #endif