diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-01-25 11:59:32 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-01-25 11:59:32 +0000 |
commit | 5563da141e1fd0474f1eeedb967209c55227abae (patch) | |
tree | 79edb6566aecd22050117f9728b17e40156fd093 /src/protocol-constants.h | |
parent | 4d57ef2197461c450aaaf79cdbb31b256ae0e81e (diff) |
issue 175. make some (incomplete) changes as per the GTK+ best practices document - mainly using a pointer in the public class to access the private object (on a few important classes for now) for performance, and don't use C99 (C99 comments or mixed declarations/statements).
Diffstat (limited to 'src/protocol-constants.h')
-rw-r--r-- | src/protocol-constants.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol-constants.h b/src/protocol-constants.h index c618487..c4a21eb 100644 --- a/src/protocol-constants.h +++ b/src/protocol-constants.h @@ -40,7 +40,6 @@ #define FIELD_TOTAL_SIZE "totalSize" #define FIELD_DONE_DATE "doneDate" #define FIELD_ADDED_DATE "addedDate" -//#define FIELD_TRACKERS "trackers" #define FIELD_TRACKER_STATS "trackerStats" #define FIELD_DOWNLOAD_DIR "downloadDir" #define FIELD_HASH_STRING "hashString" @@ -182,8 +181,8 @@ typedef enum { } tr_torrent_activity; enum { - TR_PRI_UNSET = -3, // Not actually in the protocol. Just used in UI. - TR_PRI_MIXED = -2, // Neither is this. + TR_PRI_UNSET = -3, /* Not actually in the protocol. Just used in UI. */ + TR_PRI_MIXED = -2, /* Neither is this. */ TR_PRI_LOW = -1, TR_PRI_NORMAL = 0, /* since NORMAL is 0, memset initializes nicely */ TR_PRI_HIGH = 1 |