move translation function _ to qtui.h/noui.h instead of util.h
[novacoin.git] / src / noui.h
index 5f6cc75..4010ec3 100644 (file)
@@ -1,14 +1,11 @@
 // Copyright (c) 2010 Satoshi Nakamoto
-// Copyright (c) 2011 The Bitcoin developers
+// Copyright (c) 2009-2012 The Bitcoin developers
 // Distributed under the MIT/X11 software license, see the accompanying
 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
 #ifndef BITCOIN_NOUI_H
 #define BITCOIN_NOUI_H
 
-#include <stdint.h>
-
 #include <string>
-#include <boost/function.hpp>
 #include "wallet.h"
 
 typedef void wxWindow;
@@ -52,25 +49,26 @@ inline int ThreadSafeMessageBox(const std::string& message, const std::string& c
     return MyMessageBox(message, caption, style, parent, x, y);
 }
 
-inline bool ThreadSafeAskFee(int64_t nFeeRequired, const std::string& strCaption, wxWindow* parent)
+inline bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption, wxWindow* parent)
 {
     return true;
 }
 
-inline void CalledSetStatusBar(const std::string& strText, int nField)
+inline void MainFrameRepaint()
 {
 }
 
-inline void UIThreadCall(boost::function0<void> fn)
+inline void AddressBookRepaint()
 {
 }
 
-inline void MainFrameRepaint()
+inline void InitMessage(const std::string &message)
 {
 }
 
-inline void InitMessage(const std::string &message)
+inline const char* _(const char* psz)
 {
+    return psz;
 }
 
 #endif