diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-05-06 19:40:58 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-05-20 10:44:50 +0200 |
| commit | ab1b288fa7994db5f036e93d5f8ba73372017c40 (patch) | |
| tree | 6454168811d3f2c011e907770b3ac7cfe8c49495 /src/qt/qtipcserver.cpp | |
| parent | Fine-grained UI updates (diff) | |
| download | discoin-ab1b288fa7994db5f036e93d5f8ba73372017c40.tar.xz discoin-ab1b288fa7994db5f036e93d5f8ba73372017c40.zip | |
Convert UI interface to boost::signals2.
- Signals now go directly from the core to WalletModel/ClientModel.
- WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet.
- Gets rid of noui.cpp, the few lines that were left are merged into init.cpp
- Rename wxXXX message flags to MF_XXX, to make them UI indifferent.
- ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
Diffstat (limited to 'src/qt/qtipcserver.cpp')
| -rw-r--r-- | src/qt/qtipcserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp index 06ada5aac..3d7d90e90 100644 --- a/src/qt/qtipcserver.cpp +++ b/src/qt/qtipcserver.cpp @@ -31,7 +31,7 @@ void ipcThread(void* parg) ptime d = boost::posix_time::microsec_clock::universal_time() + millisec(100); if(mq->timed_receive(&strBuf, sizeof(strBuf), nSize, nPriority, d)) { - ThreadSafeHandleURI(std::string(strBuf, nSize)); + uiInterface.ThreadSafeHandleURI(std::string(strBuf, nSize)); Sleep(1000); } if (fShutdown) @@ -69,7 +69,7 @@ void ipcInit() ptime d = boost::posix_time::microsec_clock::universal_time() + millisec(1); if(mq->timed_receive(&strBuf, sizeof(strBuf), nSize, nPriority, d)) { - ThreadSafeHandleURI(std::string(strBuf, nSize)); + uiInterface.ThreadSafeHandleURI(std::string(strBuf, nSize)); } else break; |