Move from noui.h / ui.h to one ui_interface.h with dummy implementation for the daemon.
[novacoin.git] / src / ui_interface.h
similarity index 90%
rename from src/qtui.h
rename to src/ui_interface.h
index 405fc49..2e29f2a 100644 (file)
@@ -1,11 +1,11 @@
 // Copyright (c) 2010 Satoshi Nakamoto
 // Distributed under the MIT/X11 software license, see the accompanying
 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
-#ifndef BITCOIN_EXTERNUI_H
-#define BITCOIN_EXTERNUI_H
+#ifndef BITCOIN_UI_INTERFACE_H
+#define BITCOIN_UI_INTERFACE_H
 
 #include <string>
-#include "wallet.h"
+#include "util.h" // for int64
 
 #define wxYES                   0x00000002
 #define wxOK                    0x00000004
@@ -36,6 +36,8 @@
 // Force blocking, modal message box dialog (not just notification)
 #define wxMODAL                 0x00040000
 
+/* These UI communication functions are implemented in bitcoin.cpp (for ui) and noui.cpp (no ui) */
+
 extern int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style=wxOK);
 extern bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption);
 extern void ThreadSafeHandleURL(const std::string& strURL);