support RPC stop and encryptwallet with UI

This commit is contained in:
Wladimir J. van der Laan
2012-03-25 20:17:59 +02:00
parent 5d7cebdadc
commit 1a3f0da922
5 changed files with 17 additions and 15 deletions

View File

@@ -7,6 +7,7 @@
#include <string>
#include "wallet.h"
#include "init.h"
typedef void wxWindow;
#define wxYES 0x00000002
@@ -71,4 +72,10 @@ inline const char* _(const char* psz)
return psz;
}
inline void QueueShutdown()
{
// Without UI, Shutdown can simply be started in a new thread
CreateThread(Shutdown, NULL);
}
#endif