mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk gtk) first cut at using GApplication. This lets glib replace hundreds of lines of homegrown code. Whee!
This commit is contained in:
@@ -106,19 +106,14 @@ void gtr_core_load( TrCore * self, gboolean forcepaused );
|
||||
* May pop up dialogs for each torrent if that preference is enabled.
|
||||
* May trigger one or more "error" signals with TR_CORE_ERR_ADD_TORRENT
|
||||
*/
|
||||
void gtr_core_add_list( TrCore * self,
|
||||
GSList * torrentFiles,
|
||||
gboolean do_start,
|
||||
gboolean do_prompt,
|
||||
gboolean do_notify );
|
||||
|
||||
void gtr_core_add_list_defaults( TrCore * core,
|
||||
GSList * torrentFiles,
|
||||
gboolean do_notify );
|
||||
|
||||
void gtr_core_add_files( TrCore * core,
|
||||
GSList * files,
|
||||
gboolean do_start,
|
||||
gboolean do_prompt,
|
||||
gboolean do_notify );
|
||||
|
||||
/** @brief Add a torrent from a URL */
|
||||
void gtr_core_add_from_url( TrCore * core, const char * url );
|
||||
bool gtr_core_add_from_url( TrCore * core, const char * url );
|
||||
|
||||
/** @brief Add a torrent.
|
||||
@param ctor this function assumes ownership of the ctor */
|
||||
@@ -200,13 +195,4 @@ enum
|
||||
};
|
||||
|
||||
|
||||
#define TR_DBUS_SESSION_SERVICE_NAME "com.transmissionbt.transmission.Session"
|
||||
#define TR_DBUS_SESSION_INTERFACE "com.transmissionbt.transmission.Session"
|
||||
#define TR_DBUS_SESSION_OBJECT_PATH "/com/transmissionbt/transmission/Session"
|
||||
|
||||
#define TR_DBUS_DISPLAY_SERVICE_NAME "com.transmissionbt.transmission.Display"
|
||||
#define TR_DBUS_DISPLAY_INTERFACE "com.transmissionbt.transmission.Display"
|
||||
#define TR_DBUS_DISPLAY_OBJECT_PATH "/com/transmissionbt/transmission/Display"
|
||||
|
||||
|
||||
#endif /* GTR_CORE_H */
|
||||
|
||||
Reference in New Issue
Block a user