summaryrefslogtreecommitdiff
path: root/src/protocol-constants.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-13 13:21:48 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-13 13:21:48 +0000
commit009ef4d4a37ca136c6bd1071fc980c4f164badd9 (patch)
treea5eaacc4ece039a3b9db8740a18c9397a0402759 /src/protocol-constants.h
parent0cf859ff090d670eef1a7f184ad974db6a953ccc (diff)
move functionality, refresh static function prototypes in main-window, add/remove status icon without restart
Diffstat (limited to 'src/protocol-constants.h')
-rw-r--r--src/protocol-constants.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/protocol-constants.h b/src/protocol-constants.h
index 1f83e21..ea1e917 100644
--- a/src/protocol-constants.h
+++ b/src/protocol-constants.h
@@ -38,17 +38,19 @@
#define FIELD_HASH_STRING "hashString"
#define FIELD_SWARM_SPEED "swarmSpeed"
#define FIELD_ERROR_STRING "errorString"
-#define FIELD_NAME "name"
-#define FIELD_SIZEWHENDONE "sizeWhenDone"
-#define FIELD_STATUS "status"
-#define FIELD_RATEDOWNLOAD "rateDownload"
-#define FIELD_RATEUPLOAD "rateUpload"
-#define FIELD_ETA "eta"
-#define FIELD_UPLOADEDEVER "uploadedEver"
+#define FIELD_NAME "name"
+#define FIELD_SIZEWHENDONE "sizeWhenDone"
+#define FIELD_STATUS "status"
+#define FIELD_MOVE "move"
+#define FIELD_LOCATION "location"
+#define FIELD_RATEDOWNLOAD "rateDownload"
+#define FIELD_RATEUPLOAD "rateUpload"
+#define FIELD_ETA "eta"
+#define FIELD_UPLOADEDEVER "uploadedEver"
#define FIELD_DOWNLOADEDEVER "downloadedEver"
-#define FIELD_HAVEVALID "haveValid"
-#define FIELD_HAVEUNCHECKED "haveUnchecked"
-#define FIELD_PERCENTDONE "percentDone"
+#define FIELD_HAVEVALID "haveValid"
+#define FIELD_HAVEUNCHECKED "haveUnchecked"
+#define FIELD_PERCENTDONE "percentDone"
#define FIELD_TRACKERS "trackers"
#define FIELD_PEERS "peers"
#define FIELD_FILES "files"
@@ -67,6 +69,7 @@
#define FIELD_SEED_RATIO_MODE "seedRatioMode"
#define FIELD_SEED_RATIO_LIMIT "seedRatioLimit"
#define FIELD_PEER_LIMIT "peer-limit"
+#define FIELD_DOWNLOAD_DIR "downloadDir"
#define FIELD_FILES_WANTED "files-wanted"
#define FIELD_FILES_UNWANTED "files-unwanted"
@@ -87,6 +90,7 @@
#define METHOD_SESSION_SET "session-set"
#define METHOD_TORRENT_GET "torrent-get"
#define METHOD_TORRENT_SET "torrent-set"
+#define METHOD_TORRENT_SET_LOCATION "torrent-set-location"
#define METHOD_TORRENT_STOP "torrent-stop"
#define METHOD_TORRENT_VERIFY "torrent-verify"
#define METHOD_TORRENT_REMOVE "torrent-remove"