aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qtipcserver.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-02-11 18:52:30 -0500
committerGavin Andresen <gavinandresen@gmail.com>2013-02-12 15:41:31 -0500
commit8269a0953ee9ccbdc422433fc37184e60f94b178 (patch)
tree9e5a3c73057afdba5e7351e051072ac2365ca924 /src/qt/qtipcserver.h
parent2f0fa79db290d5139c27409055b2035099afa6fd (diff)
Reimplement click-to-pay links. Add OSX support.
Switch to using Qt's QLocalServer/QLocalSocket to handle bitcoin payment links (bitcoin:... URIs) Reason for switch: the boost::interprocess mechanism seemed flaky, and doesn't mesh as well with "The Qt Way" qtipcserver.cpp/h is replaced by paymentserver.cpp/h Click-to-pay now also works on OSX, with a custom Info.plist that registers Bitcoin-Qt as a handler for bitcoin: URLs and an event listener on the main QApplication that handles QFileOpenEvents (Qt translates 'url clicked' AppleEvents into QFileOpenEvents automagically).
Diffstat (limited to 'src/qt/qtipcserver.h')
-rw-r--r--src/qt/qtipcserver.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/qt/qtipcserver.h b/src/qt/qtipcserver.h
deleted file mode 100644
index f775f272c2..0000000000
--- a/src/qt/qtipcserver.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef QTIPCSERVER_H
-#define QTIPCSERVER_H
-
-#include <string>
-
-// Define Bitcoin-Qt message queue name for mainnet
-#define BITCOINURI_QUEUE_NAME_MAINNET "BitcoinURI"
-// Define Bitcoin-Qt message queue name for testnet
-#define BITCOINURI_QUEUE_NAME_TESTNET "BitcoinURI-testnet"
-
-extern std::string strBitcoinURIQueueName;
-
-void ipcScanRelay(int argc, char *argv[]);
-void ipcInit(int argc, char *argv[]);
-
-#endif // QTIPCSERVER_H