Changeset 14724
- Timestamp:
- Mar 29, 2016, 4:37:21 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 129 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/daemon.h
r14485 r14724 8 8 */ 9 9 10 #ifndef DTR_DAEMON_H 11 #define DTR_DAEMON_H 10 #pragma once 12 11 13 12 struct tr_error; … … 27 26 struct tr_error ** error); 28 27 29 #endif /* DTR_DAEMON_H */ -
trunk/gtk/actions.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_ACTIONS_H 11 #define GTR_ACTIONS_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 29 28 GtkWidget* gtr_action_get_widget (const char * path); 30 29 31 #endif -
trunk/gtk/conf.h
r13683 r14724 23 23 *****************************************************************************/ 24 24 25 #ifndef GTR_CONFIG_H 26 #define GTR_CONFIG_H 25 #pragma once 27 26 28 27 #include <inttypes.h> … … 47 46 struct tr_variant* gtr_pref_get_all (void); 48 47 49 #endif /* GTR_CONFIG_H */ -
trunk/gtk/details.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_TORRENT_DETAILS_H 11 #define GTR_TORRENT_DETAILS_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 20 19 GSList * torrent_ids); 21 20 22 #endif /* GTR_TORRENT_DETAILS_H */ -
trunk/gtk/dialogs.h
r13625 r14724 23 23 *****************************************************************************/ 24 24 25 #ifndef GTR_DIALOGS_H 26 #define GTR_DIALOGS_H 25 #pragma once 27 26 28 27 #include "tr-core.h" … … 37 36 gboolean doDelete); 38 37 39 #endif /* GTR_DIALOGS_H */ -
trunk/gtk/favicon.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_FAVICON_CACHE_H 11 #define GTR_FAVICON_CACHE_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 24 23 gpointer pixbuf_ready_func_data); 25 24 26 27 #endif -
trunk/gtk/file-list.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTK_TORRENT_FILE_LIST_H 11 #define GTK_TORRENT_FILE_LIST_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 18 17 void gtr_file_list_set_torrent (GtkWidget *, int torrent_id); 19 18 20 #endif -
trunk/gtk/filter.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_FILTER_H 11 #define GTR_FILTER_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 18 17 GtkTreeModel ** filter_model); 19 18 20 #endif -
trunk/gtk/hig.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_HIG_H 11 #define GTR_HIG_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 74 73 }; 75 74 76 #endif /* GTR_HIG_H */ -
trunk/gtk/icons.h
r13625 r14724 7 7 */ 8 8 9 #ifndef GTR_ICONS_H 10 #define GTR_ICONS_H 9 #pragma once 11 10 12 11 #define DIRECTORY_MIME_TYPE "folder" … … 19 18 GtkWidget * for_widget); 20 19 21 #endif -
trunk/gtk/makemeta-ui.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_TORRENT_CREATION_DIALOG_H 11 #define GTR_TORRENT_CREATION_DIALOG_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 16 15 GtkWidget* gtr_torrent_creation_dialog_new (GtkWindow * parent, TrCore * core); 17 16 18 #endif -
trunk/gtk/msgwin.h
r14241 r14724 9 9 10 10 11 #ifndef GTR_MSGWIN_H 12 #define GTR_MSGWIN_H 11 #pragma once 13 12 14 13 #include "tr-core.h" … … 16 15 GtkWidget * gtr_message_log_window_new (GtkWindow * parent, TrCore * core); 17 16 18 #endif -
trunk/gtk/notify.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_NOTIFY_H 11 #define GTR_NOTIFY_H 10 #pragma once 12 11 13 12 #include "tr-core.h" … … 19 18 void gtr_notify_torrent_completed (TrCore * core, int torrent_id); 20 19 21 #endif -
trunk/gtk/open-dialog.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_OPEN_DIALOG_H 11 #define GTR_OPEN_DIALOG_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 20 19 GtkWidget* gtr_torrent_options_dialog_new (GtkWindow * parent, TrCore * core, tr_ctor * ctor); 21 20 22 #endif /* GTR_ADD_DIALOG */ -
trunk/gtk/relocate.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_RELOCATE_H 11 #define GTR_RELOCATE_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 18 17 GSList * torrentIds); 19 18 20 #endif -
trunk/gtk/stats.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_STATS_DIALOG_H 11 #define GTR_STATS_DIALOG_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 16 15 GtkWidget* gtr_stats_dialog_new (GtkWindow * parent, TrCore * core); 17 16 18 #endif /* GTR_STATS_DIALOG_H */ -
trunk/gtk/torrent-cell-renderer.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_TORRENT_CELL_RENDERER_H 11 #define GTR_TORRENT_CELL_RENDERER_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 41 40 GtkCellRenderer * torrent_cell_renderer_new (void); 42 41 43 #endif /* GTR_TORRENT_CELL_RENDERER_H */ -
trunk/gtk/tr-core.h
r14681 r14724 23 23 *****************************************************************************/ 24 24 25 #ifndef GTR_CORE_H 26 #define GTR_CORE_H 25 #pragma once 27 26 28 27 #include <gtk/gtk.h> … … 197 196 G_END_DECLS 198 197 199 200 #endif /* GTR_CORE_H */ -
trunk/gtk/tr-icon.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_ICON_H 11 #define GTR_ICON_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 17 16 void gtr_icon_refresh (gpointer); 18 17 19 #endif /* GTR_ICON_H */ -
trunk/gtk/tr-prefs.h
r14241 r14724 8 8 */ 9 9 10 #ifndef GTR_PREFS_H 11 #define GTR_PREFS_H 10 #pragma once 12 11 13 12 #include <gtk/gtk.h> … … 54 53 }; 55 54 56 #endif /* GTR_PREFS_H */ -
trunk/gtk/tr-window.h
r13625 r14724 23 23 *****************************************************************************/ 24 24 25 #ifndef GTR_WINDOW_H 26 #define GTR_WINDOW_H 25 #pragma once 27 26 28 27 #include <gtk/gtk.h> … … 34 33 void gtr_window_refresh (GtkWindow *); 35 34 36 #endif /* GTR_WINDOW_H */ -
trunk/gtk/util.h
r14587 r14724 8 8 */ 9 9 10 #ifndef GTR_UTIL_H 11 #define GTR_UTIL_H 10 #pragma once 12 11 13 12 #include <sys/types.h> … … 165 164 void gtr_label_set_text (GtkLabel * lb, const char * text); 166 165 167 #endif /* GTR_UTIL_H */ -
trunk/libtransmission/ConvertUTF.h
r14633 r14724 1 #ifndef CONVERT_UNICODE_H 2 #define CONVERT_UNICODE_H 1 #ifndef __TRANSMISSION__ 2 #error only libtransmission should #include this header. 3 #endif 3 4 4 #ifndef __TRANSMISSION__ 5 #error only libtransmission should #include this header. 6 #endif 5 #pragma once 7 6 8 7 /* … … 160 159 161 160 /* --------------------------------------------------------------------- */ 162 163 #endif /* CONVERT_UNICODE_H */ -
trunk/libtransmission/announcer-common.h
r14521 r14724 12 12 #endif 13 13 14 #ifndef _TR_ANNOUNCER_COMMON_H_ 15 #define _TR_ANNOUNCER_COMMON_H_ 14 #pragma once 16 15 17 16 #include "transmission.h" /* SHA_DIGEST_LENGTH */ … … 236 235 void tr_tracker_udp_start_shutdown (tr_session * session); 237 236 238 #endif /* _TR_ANNOUNCER_COMMON_H_ */ -
trunk/libtransmission/announcer.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef _TR_ANNOUNCER_H_ 15 #define _TR_ANNOUNCER_H_ 14 #pragma once 16 15 17 16 #include "transmission.h" … … 112 111 bool tr_tracker_udp_is_idle (const tr_session * session); 113 112 114 115 116 #endif /* _TR_ANNOUNCER_H_ */ -
trunk/libtransmission/bandwidth.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_BANDWIDTH_H 15 #define TR_BANDWIDTH_H 14 #pragma once 16 15 17 16 #include <assert.h> … … 268 267 269 268 /* @} */ 270 #endif 269 -
trunk/libtransmission/bitfield.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_BITFIELD_H 15 #define TR_BITFIELD_H 1 14 #pragma once 16 15 17 16 #include "transmission.h" … … 98 97 bool tr_bitfieldHas (const tr_bitfield * b, size_t n); 99 98 100 #endif -
trunk/libtransmission/blocklist.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_BLOCKLIST_H 15 #define TR_BLOCKLIST_H 14 #pragma once 16 15 17 16 struct tr_address; … … 41 40 const char * filename); 42 41 43 #endif -
trunk/libtransmission/cache.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_CACHE_H 15 #define TR_CACHE_H 14 #pragma once 16 15 17 16 struct evbuffer; … … 68 67 tr_file_index_t file); 69 68 70 #endif -
trunk/libtransmission/clients.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_CLIENTS_H 15 #define TR_CLIENTS_H 14 #pragma once 16 15 17 16 /** … … 21 20 char* tr_clientForId (char * buf, size_t buflen, const void * peer_id); 22 21 23 #endif -
trunk/libtransmission/completion.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_COMPLETION_H 15 #define TR_COMPLETION_H 14 #pragma once 16 15 17 16 #include "transmission.h" … … 143 142 } 144 143 145 146 #endif -
trunk/libtransmission/crypto-test-ref.h
r14419 r14724 8 8 */ 9 9 10 #ifndef TR_CRYPTO_TEST_REF_H 11 #define TR_CRYPTO_TEST_REF_H 10 #pragma once 12 11 13 12 /* #define CRYPTO_REFERENCE_CHECK */ … … 172 171 #endif /* CRYPTO_REFERENCE_CHECK */ 173 172 174 #endif /* TR_CRYPTO_TEST_REF_H */ -
trunk/libtransmission/crypto-utils.h
r14422 r14724 8 8 */ 9 9 10 #ifndef TR_CRYPTO_UTILS_H 11 #define TR_CRYPTO_UTILS_H 10 #pragma once 12 11 13 12 #include <inttypes.h> … … 223 222 #endif 224 223 225 #endif /* TR_CRYPTO_UTILS_H */ -
trunk/libtransmission/crypto.h
r14360 r14724 8 8 */ 9 9 10 #ifndef TR_ENCRYPTION_H 11 #define TR_ENCRYPTION_H 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header. 12 #endif 12 13 13 #ifndef __TRANSMISSION__ 14 #error only libtransmission should #include this header. 15 #endif 14 #pragma once 16 15 17 16 #include <inttypes.h> … … 86 85 /* @} */ 87 86 88 #endif -
trunk/libtransmission/error-types.h
r14492 r14724 8 8 */ 9 9 10 #ifndef TR_ERROR_TYPES_H 11 #define TR_ERROR_TYPES_H 10 #pragma once 12 11 13 12 #ifdef _WIN32 … … 39 38 #endif /* _WIN32 */ 40 39 41 #endif /* TR_ERROR_TYPES_H */ -
trunk/libtransmission/error.h
r14369 r14724 8 8 */ 9 9 10 #ifndef TR_ERROR_H 11 #define TR_ERROR_H 10 #pragma once 12 11 13 12 #include <stdarg.h> … … 172 171 #endif 173 172 174 #endif -
trunk/libtransmission/file.h
r14584 r14724 8 8 */ 9 9 10 #ifndef TR_FILE_H 11 #define TR_FILE_H 10 #pragma once 12 11 13 12 #include <inttypes.h> … … 692 691 #endif 693 692 694 #endif -
trunk/libtransmission/handshake.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_HANDSHAKE_H 15 #define TR_HANDSHAKE_H 14 #pragma once 16 15 17 16 #include "transmission.h" … … 52 51 53 52 /** @} */ 54 #endif -
trunk/libtransmission/history.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_RECENT_HISTORY_H 15 #define TR_RECENT_HISTORY_H 14 #pragma once 16 15 17 16 /** … … 57 56 unsigned int tr_historyGet (const tr_recentHistory *, time_t when, unsigned int seconds); 58 57 59 #endif -
trunk/libtransmission/inout.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_IO_H 15 #define TR_IO_H 1 14 #pragma once 16 15 17 16 struct tr_torrent; … … 65 64 66 65 /* @} */ 67 #endif -
trunk/libtransmission/libtransmission-test.h
r14721 r14724 10 10 /* Note VERBOSE needs to be (un)defined before including this file */ 11 11 12 #ifndef LIBTRANSMISSION_TEST_H 13 #define LIBTRANSMISSION_TEST_H 1 12 #pragma once 14 13 15 14 #include <stdio.h> … … 102 101 void libttest_sync (void); 103 102 104 #endif /* !LIBTRANSMISSION_TEST_H */ -
trunk/libtransmission/list.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_LIST_H 15 #define TR_LIST_H 14 #pragma once 16 15 17 16 /** … … 111 110 112 111 /* @} */ 113 #endif /* TR_LIST_H */114 112 -
trunk/libtransmission/log.h
r14476 r14724 8 8 */ 9 9 10 #ifndef TR_LOG_H 11 #define TR_LOG_H 1 10 #pragma once 12 11 13 12 #include <stddef.h> /* size_t */ … … 130 129 /** @} */ 131 130 132 #endif -
trunk/libtransmission/magnet.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_MAGNET_H 15 #define TR_MAGNET_H 1 14 #pragma once 16 15 17 16 #include "transmission.h" … … 40 39 void tr_magnetFree (tr_magnet_info * info); 41 40 42 #endif -
trunk/libtransmission/makemeta.h
r14294 r14724 8 8 */ 9 9 10 #ifndef TR_MAKEMETA_H 11 #define TR_MAKEMETA_H 1 10 #pragma once 12 11 13 12 #ifdef __cplusplus … … 131 130 #endif 132 131 133 #endif -
trunk/libtransmission/metainfo.h
r14634 r14724 12 12 #endif 13 13 14 #ifndef TR_METAINFO_H 15 #define TR_METAINFO_H 1 14 #pragma once 16 15 17 16 #include "transmission.h" … … 29 28 char* tr_metainfoGetBasename (const tr_info *); 30 29 31 32 #endif -
trunk/libtransmission/natpmp_local.h
r14369 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_NATPMP_H 15 #define TR_NATPMP_H 1 14 #pragma once 16 15 17 16 /** … … 29 28 30 29 /* @} */ 31 #endif -
trunk/libtransmission/net.h
r14721 r14724 24 24 25 25 #ifndef __TRANSMISSION__ 26 #error only libtransmission should #include this header.26 #error only libtransmission should #include this header. 27 27 #endif 28 28 29 #ifndef TR_NET_H 30 #define TR_NET_H 29 #pragma once 31 30 32 31 #ifdef _WIN32 … … 175 174 const unsigned char *tr_globalIPv6 (void); 176 175 177 #endif /* TR_NET_H */ -
trunk/libtransmission/peer-common.h
r14382 r14724 12 12 #endif 13 13 14 #ifndef TR_PEER_H 15 #define TR_PEER_H 14 #pragma once 16 15 17 16 #include "transmission.h" … … 181 180 /** @} */ 182 181 183 #endif -
trunk/libtransmission/peer-io.h
r14479 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_PEER_IO_H 15 #define TR_PEER_IO_H 14 #pragma once 16 15 17 16 /** … … 399 398 /* @} */ 400 399 401 #endif -
trunk/libtransmission/peer-mgr.h
r14479 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_PEER_MGR_H 15 #define TR_PEER_MGR_H 14 #pragma once 16 15 17 16 #include <inttypes.h> /* uint16_t */ … … 188 187 189 188 /* @} */ 190 191 #endif -
trunk/libtransmission/peer-msgs.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_PEER_MSGS_H 15 #define TR_PEER_MSGS_H 14 #pragma once 16 15 17 16 #include <inttypes.h> … … 89 88 90 89 /* @} */ 91 #endif -
trunk/libtransmission/platform-quota.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_PLATFORM_QUOTA_H 15 #define TR_PLATFORM_QUOTA_H 14 #pragma once 16 15 17 16 /** … … 37 36 /** @} */ 38 37 39 #endif -
trunk/libtransmission/platform.h
r14721 r14724 12 12 #endif 13 13 14 #ifndef TR_PLATFORM_H 15 #define TR_PLATFORM_H 14 #pragma once 16 15 17 16 #define TR_PATH_DELIMITER '/' … … 80 79 /* @} */ 81 80 82 #endif -
trunk/libtransmission/port-forwarding.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef SHARED_H 15 #define SHARED_H 1 14 #pragma once 16 15 17 16 #include "transmission.h" … … 41 40 42 41 /** @} */ 43 #endif -
trunk/libtransmission/ptrarray.h
r14721 r14724 12 12 #endif 13 13 14 #ifndef TR_PTR_ARRAY_H 15 #define TR_PTR_ARRAY_H 14 #pragma once 16 15 17 16 #include <assert.h> … … 141 140 142 141 /* @} */ 143 #endif -
trunk/libtransmission/quark.h
r14369 r14724 8 8 */ 9 9 10 #ifndef TR_QUARK_H 11 #define TR_QUARK_H 1 10 #pragma once 12 11 13 12 #ifdef __cplusplus … … 433 432 #endif 434 433 435 #endif -
trunk/libtransmission/resume.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_RESUME_H 15 #define TR_RESUME_H 14 #pragma once 16 15 17 16 enum … … 38 37 TR_FR_TIME_DOWNLOADING = (1 << 19), 39 38 TR_FR_FILENAMES = (1 << 20), 40 TR_FR_NAME = (1 << 21) ,39 TR_FR_NAME = (1 << 21) 41 40 }; 42 41 … … 55 54 const char * newname); 56 55 57 #endif -
trunk/libtransmission/rpc-server.h
r14241 r14724 12 12 #endif 13 13 14 #pragma once 15 14 16 #include "variant.h" 15 16 #ifndef TR_RPC_SERVER_H17 #define TR_RPC_SERVER_H18 17 19 18 typedef struct tr_rpc_server tr_rpc_server; … … 66 65 const char* tr_rpcGetBindAddress (const tr_rpc_server * server); 67 66 68 #endif -
trunk/libtransmission/rpcimpl.h
r14633 r14724 8 8 */ 9 9 10 #ifndef TR_RPC_H 11 #define TR_RPC_H 10 #pragma once 12 11 13 12 #ifdef __cplusplus … … 47 46 #endif 48 47 49 #endif /* TR_RPC_H */ -
trunk/libtransmission/session.h
r14721 r14724 12 12 #endif 13 13 14 #ifndef TR_INTERNAL_H 15 #define TR_INTERNAL_H 1 14 #pragma once 16 15 17 16 #define TR_NAME "Transmission" … … 328 327 int tr_sessionCountQueueFreeSlots (tr_session * session, tr_direction); 329 328 330 331 #endif -
trunk/libtransmission/stats.h
r14241 r14724 11 11 #endif 12 12 13 #ifndef TR_STATS_H 14 #define TR_STATS_H 13 #pragma once 15 14 16 15 void tr_statsInit (tr_session * session); … … 21 20 void tr_statsFileCreated (tr_session * session); 22 21 23 #endif -
trunk/libtransmission/torrent-magnet.h
r14664 r14724 12 12 #endif 13 13 14 #ifndef TR_TORRENT_MAGNET_H 15 #define TR_TORRENT_MAGNET_H 1 14 #pragma once 16 15 17 16 #include <inttypes.h> … … 34 33 double tr_torrentGetMetadataPercent (const tr_torrent * tor); 35 34 36 #endif -
trunk/libtransmission/torrent.h
r14634 r14724 12 12 #endif 13 13 14 #ifndef TR_TORRENT_H 15 #define TR_TORRENT_H 1 14 #pragma once 16 15 17 16 #include "bandwidth.h" /* tr_bandwidth */ … … 512 511 } 513 512 514 #endif -
trunk/libtransmission/tr-getopt.h
r14615 r14724 8 8 */ 9 9 10 #ifndef TR_GETOPT_H 11 #define TR_GETOPT_H 10 #pragma once 12 11 13 12 #ifdef __cplusplus … … 68 67 /** @} */ 69 68 70 #endif /* TR_GETOPT_H */ -
trunk/libtransmission/tr-lpd.h
r14321 r14724 25 25 #endif 26 26 27 #ifndef _TR_LPD_H 28 #define _TR_LPD_H 27 #pragma once 29 28 30 29 /* $Id$ */ … … 49 48 * @} */ 50 49 51 #endif /* _TR_LPD_H */52 -
trunk/libtransmission/tr-udp.h
r13625 r14724 22 22 */ 23 23 24 #ifndef TR_UDP_H 25 #define TR_UDP_H 24 #pragma once 26 25 27 26 #ifndef __TRANSMISSION__ … … 36 35 const uint8_t * msg, size_t msglen); 37 36 38 #endif /* #ifndef TR_UDP_H */ -
trunk/libtransmission/tr-utp.h
r14721 r14724 26 26 #endif 27 27 28 #ifndef TR_UTP_H 29 #define TR_UTP_H 28 #pragma once 30 29 31 30 int tr_utpPacket (const unsigned char *buf, size_t buflen, … … 38 37 const struct sockaddr *to, socklen_t tolen); 39 38 40 #endif /* #ifndef TR_UTP_H */ -
trunk/libtransmission/transmission.h
r14723 r14724 14 14 */ 15 15 16 #ifndef TR_TRANSMISSION_H 17 #define TR_TRANSMISSION_H 1 16 #pragma once 18 17 19 18 #ifdef __cplusplus … … 2064 2063 #endif 2065 2064 2066 #endif -
trunk/libtransmission/trevent.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_EVENT_H 15 #define TR_EVENT_H 14 #pragma once 16 15 17 16 /** … … 26 25 void tr_runInEventThread (tr_session *, void func (void*), void * user_data); 27 26 28 #endif -
trunk/libtransmission/upnp.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_UPNP_H 15 #define TR_UPNP_H 1 14 #pragma once 16 15 17 16 /** … … 31 30 int doPortCheck); 32 31 /* @} */ 33 #endif -
trunk/libtransmission/utils.h
r14721 r14724 8 8 */ 9 9 10 #ifndef TR_UTILS_H 11 #define TR_UTILS_H 1 10 #pragma once 12 11 13 12 #include <inttypes.h> … … 533 532 /** @} */ 534 533 535 #endif -
trunk/libtransmission/variant-common.h
r14521 r14724 12 12 #endif 13 13 14 #ifndef _TR_VARIANT_COMMON_H_ 15 #define _TR_VARIANT_COMMON_H_ 14 #pragma once 16 15 17 16 typedef void (*VariantWalkFunc)(const tr_variant * val, void * user_data); … … 65 64 66 65 67 68 #endif /* _TR_VARIANT_COMMON_H_ */ -
trunk/libtransmission/variant.h
r14634 r14724 8 8 */ 9 9 10 #ifndef TR_VARIANT_H 11 #define TR_VARIANT_H 1 10 #pragma once 12 11 13 12 #ifdef __cplusplus … … 436 435 #endif 437 436 438 #endif -
trunk/libtransmission/verify.h
r14241 r14724 12 12 #endif 13 13 14 #ifndef TR_VERIFY_H 15 #define TR_VERIFY_H 1 14 #pragma once 16 15 17 16 /** … … 30 29 /* @} */ 31 30 32 #endif -
trunk/libtransmission/watchdir-common.h
r14651 r14724 8 8 */ 9 9 10 #ifndef TR_WATCHDIR_COMMON_H 11 #define TR_WATCHDIR_COMMON_H 10 #pragma once 12 11 13 12 #ifndef __LIBTRANSMISSION_WATCHDIR_MODULE__ … … 53 52 #endif 54 53 55 #endif /* TR_WATCHDIR_COMMON_H */ -
trunk/libtransmission/watchdir.h
r14674 r14724 8 8 */ 9 9 10 #ifndef TR_WATCHDIR_H 11 #define TR_WATCHDIR_H 10 #pragma once 12 11 13 12 #ifdef __cplusplus … … 47 46 #endif 48 47 49 #endif /* TR_WATCHDIR_H */ -
trunk/libtransmission/web.h
r14634 r14724 8 8 */ 9 9 10 #ifndef TR_HTTP_H 11 #define TR_HTTP_H 10 #pragma once 12 11 13 12 #include <curl/curl.h> … … 79 78 #endif 80 79 81 #endif -
trunk/libtransmission/webseed.h
r14241 r14724 9 9 10 10 #ifndef __TRANSMISSION__ 11 #error only libtransmission should #include this header.11 #error only libtransmission should #include this header. 12 12 #endif 13 13 14 #ifndef TR_WEBSEED_H 15 #define TR_WEBSEED_H 14 #pragma once 16 15 17 16 typedef struct tr_webseed tr_webseed; … … 24 23 void * callback_data); 25 24 26 #endif -
trunk/qt/AboutDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_ABOUT_DIALOG_H 11 #define QTR_ABOUT_DIALOG_H 10 #pragma once 12 11 13 12 #include <QPointer> … … 37 36 }; 38 37 39 #endif // QTR_ABOUT_DIALOG_H -
trunk/qt/AddData.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_ADD_DATA_H 11 #define QTR_ADD_DATA_H 10 #pragma once 12 11 13 12 #include <QByteArray> … … 46 45 }; 47 46 48 #endif // QTR_ADD_DATA_H -
trunk/qt/Application.h
r14600 r14724 8 8 */ 9 9 10 #ifndef QTR_APPLICATION_H 11 #define QTR_APPLICATION_H 10 #pragma once 12 11 13 12 #include <QApplication> … … 74 73 #define qApp static_cast<Application*> (Application::instance ()) 75 74 76 #endif // QTR_APPLICATION_H -
trunk/qt/BaseDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_BASE_DIALOG_H 11 #define QTR_BASE_DIALOG_H 10 #pragma once 12 11 13 12 #include <QDialog> … … 23 22 }; 24 23 25 #endif // QTR_BASE_DIALOG_H -
trunk/qt/ColumnResizer.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_COLUMN_RESIZER_H 11 #define QTR_COLUMN_RESIZER_H 10 #pragma once 12 11 13 12 #include <QObject> … … 40 39 }; 41 40 42 #endif // QTR_COLUMN_RESIZER_H -
trunk/qt/ComInteropHelper.h
r14624 r14724 8 8 */ 9 9 10 #ifndef QTR_COM_INTEROP_HELPER_H 11 #define QTR_COM_INTEROP_HELPER_H 10 #pragma once 12 11 13 12 #include <memory> … … 35 34 }; 36 35 37 #endif // QTR_COM_INTEROP_HELPER_H -
trunk/qt/CustomVariantType.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TYPES_H 11 #define QTR_TYPES_H 10 #pragma once 12 11 13 12 #include <QVariant> … … 26 25 }; 27 26 28 #endif // QTR_TYPES_H -
trunk/qt/DBusInteropHelper.h
r14621 r14724 8 8 */ 9 9 10 #ifndef QTR_DBUS_INTEROP_HELPER_H 11 #define QTR_DBUS_INTEROP_HELPER_H 10 #pragma once 12 11 13 12 class QObject; … … 25 24 }; 26 25 27 #endif // QTR_DBUS_INTEROP_HELPER_H -
trunk/qt/DetailsDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_DETAILS_DIALOG_H 11 #define QTR_DETAILS_DIALOG_H 10 #pragma once 12 11 13 12 #include <QString> … … 104 103 }; 105 104 106 #endif // QTR_DETAILS_DIALOG_H -
trunk/qt/FaviconCache.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_FAVICON_CACHE_H 11 #define QTR_FAVICON_CACHE_H 10 #pragma once 12 11 13 12 #include <QMap> … … 55 54 }; 56 55 57 #endif // QTR_FAVICON_CACHE_H -
trunk/qt/FileTreeDelegate.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_FILE_TREE_DELEGATE_H 11 #define QTR_FILE_TREE_DELEGATE_H 10 #pragma once 12 11 13 12 #include <QItemDelegate> … … 27 26 }; 28 27 29 #endif // QTR_FILE_TREE_DELEGATE_H -
trunk/qt/FileTreeItem.h
r14557 r14724 8 8 */ 9 9 10 #ifndef QTR_FILE_TREE_ITEM_H 11 #define QTR_FILE_TREE_ITEM_H 10 #pragma once 12 11 13 12 #include <cstdint> … … 87 86 }; 88 87 89 #endif // QTR_FILE_TREE_ITEM_H -
trunk/qt/FileTreeModel.h
r14559 r14724 8 8 */ 9 9 10 #ifndef QTR_FILE_TREE_MODEL_H 11 #define QTR_FILE_TREE_MODEL_H 10 #pragma once 12 11 13 12 #include <cstdint> … … 98 97 }; 99 98 100 #endif // QTR_FILE_TREE_MODEL_H -
trunk/qt/FileTreeView.h
r14559 r14724 8 8 */ 9 9 10 #ifndef QTR_FILE_TREE_VIEW_H 11 #define QTR_FILE_TREE_VIEW_H 10 #pragma once 12 11 13 12 #include <QSet> … … 86 85 }; 87 86 88 #endif // QTR_FILE_TREE_VIEW_H -
trunk/qt/FilterBar.h
r14590 r14724 8 8 */ 9 9 10 #ifndef QTR_FILTER_BAR_H 11 #define QTR_FILTER_BAR_H 10 #pragma once 12 11 13 12 #include <QWidget> … … 62 61 }; 63 62 64 #endif // QTR_FILTER_BAR_H -
trunk/qt/FilterBarComboBox.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_FILTER_BAR_COMBO_BOX_H 11 #define QTR_FILTER_BAR_COMBO_BOX_H 10 #pragma once 12 11 13 12 #include <QComboBox> … … 42 41 }; 43 42 44 #endif // QTR_FILTER_BAR_COMBO_BOX_H -
trunk/qt/FilterBarComboBoxDelegate.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_FILTER_BAR_COMBO_BOX_DELEGATE_H 11 #define QTR_FILTER_BAR_COMBO_BOX_DELEGATE_H 10 #pragma once 12 11 13 12 #include <QItemDelegate> … … 35 34 }; 36 35 37 #endif // QTR_FILTER_BAR_COMBO_BOX_DELEGATE_H -
trunk/qt/FilterBarLineEdit.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_FILTER_BAR_LINE_EDIT_H 11 #define QTR_FILTER_BAR_LINE_EDIT_H 10 #pragma once 12 11 13 12 #include <QLineEdit> … … 33 32 }; 34 33 35 #endif // QTR_FILTER_BAR_LINE_EDIT_H -
trunk/qt/Filters.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_FILTERS_H 11 #define QTR_FILTERS_H 10 #pragma once 12 11 13 12 #include <QMetaType> … … 85 84 Q_DECLARE_METATYPE(SortMode) 86 85 87 #endif // QTR_FILTERS_H -
trunk/qt/Formatter.h
r14540 r14724 8 8 */ 9 9 10 #ifndef QTR_FORMATTER_H 11 #define QTR_FORMATTER_H 10 #pragma once 12 11 13 12 #include <cstdint> // int64_t … … 56 55 }; 57 56 58 #endif // QTR_FORMATTER_H -
trunk/qt/FreeSpaceLabel.h
r14540 r14724 8 8 */ 9 9 10 #ifndef QTR_FREE_SPACE_LABEL_H 11 #define QTR_FREE_SPACE_LABEL_H 10 #pragma once 12 11 13 12 #include <cstdint> … … 46 45 }; 47 46 48 #endif // QTR_FREE_SPACE_LABEL_H -
trunk/qt/IconToolButton.h
r14547 r14724 8 8 */ 9 9 10 #ifndef QTR_ICON_TOOL_BUTTON_H 11 #define QTR_ICON_TOOL_BUTTON_H 10 #pragma once 12 11 13 12 #include <QToolButton> … … 28 27 }; 29 28 30 #endif // QTR_ICON_TOOL_BUTTON_H -
trunk/qt/InteropHelper.h
r14624 r14724 8 8 */ 9 9 10 #ifndef QTR_INTEROP_HELPER_H 11 #define QTR_INTEROP_HELPER_H 10 #pragma once 12 11 13 12 #ifdef ENABLE_COM_INTEROP … … 41 40 }; 42 41 43 #endif // QTR_INTEROP_HELPER_H -
trunk/qt/InteropObject.h
r14624 r14724 8 8 */ 9 9 10 #ifndef QTR_INTEROP_OBJECT_H 11 #define QTR_INTEROP_OBJECT_H 10 #pragma once 12 11 13 12 #include <QObject> … … 37 36 }; 38 37 39 #endif // QTR_INTEROP_OBJECT_H -
trunk/qt/LicenseDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_LICENSE_DIALOG_H 11 #define QTR_LICENSE_DIALOG_H 10 #pragma once 12 11 13 12 #include "BaseDialog.h" … … 27 26 }; 28 27 29 #endif // QTR_LICENSE_DIALOG_H -
trunk/qt/MainWindow.h
r14582 r14724 8 8 */ 9 9 10 #ifndef QTR_MAIN_WINDOW_H 11 #define QTR_MAIN_WINDOW_H 10 #pragma once 12 11 13 12 #include <ctime> … … 178 177 }; 179 178 180 #endif // QTR_MAIN_WINDOW_H -
trunk/qt/MakeDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_MAKE_DIALOG_H 11 #define QTR_MAKE_DIALOG_H 10 #pragma once 12 11 13 12 #include <memory> … … 54 53 }; 55 54 56 #endif // QTR_MAKE_DIALOG_H -
trunk/qt/OptionsDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_OPTIONS_DIALOG_H 11 #define QTR_OPTIONS_DIALOG_H 10 #pragma once 12 11 13 12 #include <QCryptographicHash> … … 86 85 }; 87 86 88 #endif // QTR_OPTIONS_DIALOG_H -
trunk/qt/PathButton.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_PATH_BUTTON_H 11 #define QTR_PATH_BUTTON_H 10 #pragma once 12 11 13 12 #include <QToolButton> … … 61 60 }; 62 61 63 #endif // QTR_PATH_BUTTON_H -
trunk/qt/Prefs.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_PREFS_H 11 #define QTR_PREFS_H 10 #pragma once 12 11 13 12 #include <QObject> … … 190 189 }; 191 190 192 #endif // QTR_PREFS_H -
trunk/qt/PrefsDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_PREFS_DIALOG_H 11 #define QTR_PREFS_DIALOG_H 10 #pragma once 12 11 13 12 #include <QMap> … … 94 93 }; 95 94 96 #endif // QTR_PREFS_DIALOG_H -
trunk/qt/RelocateDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_RELOCATE_DIALOG_H 11 #define QTR_RELOCATE_DIALOG_H 10 #pragma once 12 11 13 12 #include <QSet> … … 44 43 }; 45 44 46 #endif // QTR_RELOCATE_DIALOG_H -
trunk/qt/RpcClient.h
r14608 r14724 8 8 */ 9 9 10 #ifndef QTR_RPC_CLIENT_H 11 #define QTR_RPC_CLIENT_H 10 #pragma once 12 11 13 12 #include <memory> … … 80 79 }; 81 80 82 #endif // QTR_RPC_CLIENT_H -
trunk/qt/Session.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_SESSION_H 11 #define QTR_SESSION_H 10 #pragma once 12 11 13 12 #include <QObject> … … 161 160 }; 162 161 163 #endif // QTR_SESSION_H -
trunk/qt/SessionDialog.h
r14562 r14724 8 8 */ 9 9 10 #ifndef QTR_SESSION_DIALOG_H 11 #define QTR_SESSION_DIALOG_H 10 #pragma once 12 11 13 12 #include <QWidgetList> … … 45 44 }; 46 45 47 #endif // QTR_SESSION_DIALOG_H -
trunk/qt/Speed.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_SPEED_H 11 #define QTR_SPEED_H 10 #pragma once 12 11 13 12 class Speed … … 33 32 }; 34 33 35 #endif // QTR_SPEED_H -
trunk/qt/SqueezeLabel.h
r14539 r14724 40 40 ****************************************************************************/ 41 41 42 #ifndef QTR_SQUEEZE_LABEL_H 43 #define QTR_SQUEEZE_LABEL_H 42 #pragma once 44 43 45 44 #include <QLabel> … … 58 57 }; 59 58 60 #endif // QTR_SQUEEZE_LABEL_H -
trunk/qt/StatsDialog.h
r14561 r14724 8 8 */ 9 9 10 #ifndef QTR_STATS_DIALOG_H 11 #define QTR_STATS_DIALOG_H 10 #pragma once 12 11 13 12 #include "BaseDialog.h" … … 41 40 }; 42 41 43 #endif // QTR_STATS_DIALOG_H -
trunk/qt/Torrent.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TORRENT_H 11 #define QTR_TORRENT_H 10 #pragma once 12 11 13 12 #include <QObject> … … 340 339 Q_DECLARE_METATYPE(const Torrent*) 341 340 342 #endif // QTR_TORRENT_H -
trunk/qt/TorrentDelegate.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TORRENT_DELEGATE_H 11 #define QTR_TORRENT_DELEGATE_H 10 #pragma once 12 11 13 12 #include <QStyledItemDelegate> … … 54 53 }; 55 54 56 #endif // QTR_TORRENT_DELEGATE_H -
trunk/qt/TorrentDelegateMin.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TORRENT_DELEGATE_MIN_H 11 #define QTR_TORRENT_DELEGATE_MIN_H 10 #pragma once 12 11 13 12 #include "TorrentDelegate.h" … … 27 26 }; 28 27 29 #endif // QTR_TORRENT_DELEGATE_MIN_H -
trunk/qt/TorrentFilter.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TORRENT_FILTER_H 11 #define QTR_TORRENT_FILTER_H 10 #pragma once 12 11 13 12 #include <QSortFilterProxyModel> … … 55 54 }; 56 55 57 #endif // QTR_TORRENT_FILTER_H -
trunk/qt/TorrentModel.h
r14540 r14724 8 8 */ 9 9 10 #ifndef QTR_TORRENT_MODEL_H 11 #define QTR_TORRENT_MODEL_H 10 #pragma once 12 11 13 12 #include <QAbstractListModel> … … 80 79 }; 81 80 82 #endif // QTR_TORRENT_MODEL_H -
trunk/qt/TorrentView.h
r14590 r14724 8 8 */ 9 9 10 #ifndef QTR_TORRENT_VIEW_H 11 #define QTR_TORRENT_VIEW_H 10 #pragma once 12 11 13 12 #include <QListView> … … 39 38 }; 40 39 41 #endif // QTR_TORRENT_VIEW_H -
trunk/qt/TrackerDelegate.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TRACKER_DELEGATE_H 11 #define QTR_TRACKER_DELEGATE_H 10 #pragma once 12 11 13 12 #include <QItemDelegate> … … 43 42 }; 44 43 45 #endif // QTR_TRACKER_DELEGATE_H -
trunk/qt/TrackerModel.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TRACKER_MODEL_H 11 #define QTR_TRACKER_MODEL_H 10 #pragma once 12 11 13 12 #include <QAbstractListModel> … … 55 54 }; 56 55 57 #endif // QTR_TRACKER_MODEL_H -
trunk/qt/TrackerModelFilter.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_TRACKER_MODEL_FILTER_H 11 #define QTR_TRACKER_MODEL_FILTER_H 10 #pragma once 12 11 13 12 #include <QSortFilterProxyModel> … … 31 30 }; 32 31 33 #endif // QTR_TRACKER_MODEL_FILTER_H -
trunk/qt/Utils.h
r14554 r14724 8 8 */ 9 9 10 #ifndef QTR_UTILS_H 11 #define QTR_UTILS_H 10 #pragma once 12 11 13 12 #include <cctype> // isxdigit() … … 86 85 }; 87 86 88 #endif // QTR_UTILS_H -
trunk/qt/WatchDir.h
r14539 r14724 8 8 */ 9 9 10 #ifndef QTR_WATCH_DIR_H 11 #define QTR_WATCH_DIR_H 10 #pragma once 12 11 13 12 #include <QObject> … … 56 55 }; 57 56 58 #endif // QTR_WATCH_DIR_H -
trunk/utils/units.h
r14295 r14724 8 8 */ 9 9 10 #ifndef UNITS_H 11 #define UNITS_H 10 #pragma once 12 11 13 12 #define MEM_K 1024 … … 31 30 #define SPEED_T_STR "TB/s" 32 31 33 #endif
Note: See TracChangeset
for help on using the changeset viewer.