uniquebackend.h | uniquebackend.h | |||
---|---|---|---|---|
skipping to change at line 97 | skipping to change at line 97 | |||
void (*_unique_reserved3) (void); | void (*_unique_reserved3) (void); | |||
void (*_unique_reserved4) (void); | void (*_unique_reserved4) (void); | |||
void (*_unique_reserved5) (void); | void (*_unique_reserved5) (void); | |||
void (*_unique_reserved6) (void); | void (*_unique_reserved6) (void); | |||
}; | }; | |||
GType unique_backend_get_type (void) G_GNUC_CONST; | GType unique_backend_get_type (void) G_GNUC_CONST; | |||
UniqueBackend * unique_backend_create (void); | UniqueBackend * unique_backend_create (void); | |||
G_CONST_RETURN gchar *unique_backend_get_name (UniqueBackend *bac kend); | const gchar * unique_backend_get_name (UniqueBackend *bac kend); | |||
void unique_backend_set_name (UniqueBackend *bac kend, | void unique_backend_set_name (UniqueBackend *bac kend, | |||
const gchar *nam e); | const gchar *nam e); | |||
G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend *bac kend); | const gchar * unique_backend_get_startup_id (UniqueBackend *bac kend); | |||
void unique_backend_set_startup_id (UniqueBackend *bac kend, | void unique_backend_set_startup_id (UniqueBackend *bac kend, | |||
const gchar *sta rtup_id); | const gchar *sta rtup_id); | |||
GdkScreen * unique_backend_get_screen (UniqueBackend *bac kend); | GdkScreen * unique_backend_get_screen (UniqueBackend *bac kend); | |||
void unique_backend_set_screen (UniqueBackend *bac kend, | void unique_backend_set_screen (UniqueBackend *bac kend, | |||
GdkScreen *scr een); | GdkScreen *scr een); | |||
guint unique_backend_get_workspace (UniqueBackend *bac kend); | guint unique_backend_get_workspace (UniqueBackend *bac kend); | |||
gboolean unique_backend_request_name (UniqueBackend *bac kend); | gboolean unique_backend_request_name (UniqueBackend *bac kend); | |||
UniqueResponse unique_backend_send_message (UniqueBackend *bac kend, | UniqueResponse unique_backend_send_message (UniqueBackend *bac kend, | |||
gint com mand_id, | gint com mand_id, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
uniquemessage.h | uniquemessage.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
*/ | */ | |||
typedef struct _UniqueMessageData UniqueMessageData; | typedef struct _UniqueMessageData UniqueMessageData; | |||
GType unique_message_data_get_type (void) G_GNUC_CON ST; | GType unique_message_data_get_type (void) G_GNUC_CON ST; | |||
UniqueMessageData * unique_message_data_new (void); | UniqueMessageData * unique_message_data_new (void); | |||
UniqueMessageData * unique_message_data_copy (UniqueMessageDat a *message_data); | UniqueMessageData * unique_message_data_copy (UniqueMessageDat a *message_data); | |||
void unique_message_data_free (UniqueMessageDat a *message_data); | void unique_message_data_free (UniqueMessageDat a *message_data); | |||
void unique_message_data_set (UniqueMessageDat a *message_data, | void unique_message_data_set (UniqueMessageDat a *message_data, | |||
const guchar *data, | const guchar *data, | |||
gsize | gssize | |||
length); | length); | |||
G_CONST_RETURN guchar *unique_message_data_get (UniqueMessageDat | const guchar * unique_message_data_get (UniqueMessageDat | |||
a *message_data, | a *message_data, | |||
gsize *length); | gsize *length); | |||
gboolean unique_message_data_set_text (UniqueMessageDat a *message_data, | gboolean unique_message_data_set_text (UniqueMessageDat a *message_data, | |||
const gchar *str, | const gchar *str, | |||
gssize length); | gssize length); | |||
gchar * unique_message_data_get_text (UniqueMessageDat a *message_data); | gchar * unique_message_data_get_text (UniqueMessageDat a *message_data); | |||
gboolean unique_message_data_set_uris (UniqueMessageDat a *message_data, | gboolean unique_message_data_set_uris (UniqueMessageDat a *message_data, | |||
gchar **uris); | gchar **uris); | |||
gchar ** unique_message_data_get_uris (UniqueMessageDat a *message_data); | gchar ** unique_message_data_get_uris (UniqueMessageDat a *message_data); | |||
void unique_message_data_set_filename (UniqueMessageDat a *message_data, | void unique_message_data_set_filename (UniqueMessageDat a *message_data, | |||
const gchar *filename); | const gchar *filename); | |||
gchar * unique_message_data_get_filename (UniqueMessageDat a *message_data); | gchar * unique_message_data_get_filename (UniqueMessageDat a *message_data); | |||
GdkScreen * unique_message_data_get_screen (UniqueMessageDat a *message_data); | GdkScreen * unique_message_data_get_screen (UniqueMessageDat a *message_data); | |||
G_CONST_RETURN gchar * unique_message_data_get_startup_id (UniqueMessageDat a *message_data); | const gchar * unique_message_data_get_startup_id (UniqueMessageDat a *message_data); | |||
guint unique_message_data_get_workspace (UniqueMessageDat a *message_data); | guint unique_message_data_get_workspace (UniqueMessageDat a *message_data); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __UNIQUE_MESSAGE_H__ */ | #endif /* __UNIQUE_MESSAGE_H__ */ | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
uniqueversion.h | uniqueversion.h | |||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
* | * | |||
* Unique provides a set of macros to check the version of the library | * Unique provides a set of macros to check the version of the library | |||
* and allow compile-time guards around new features. | * and allow compile-time guards around new features. | |||
*/ | */ | |||
/** | /** | |||
* UNIQUE_MAJOR_VERSION: | * UNIQUE_MAJOR_VERSION: | |||
* | * | |||
* Major version of Unique | * Major version of Unique | |||
*/ | */ | |||
#define UNIQUE_MAJOR_VERSION (1) | #define UNIQUE_MAJOR_VERSION (3) | |||
/** | /** | |||
* UNIQUE_MINOR_VERSION: | * UNIQUE_MINOR_VERSION: | |||
* | * | |||
* Minor version of Unique | * Minor version of Unique | |||
*/ | */ | |||
#define UNIQUE_MINOR_VERSION (1) | #define UNIQUE_MINOR_VERSION (0) | |||
/** | /** | |||
* UNIQUE_MICRO_VERSION: | * UNIQUE_MICRO_VERSION: | |||
* | * | |||
* Micro version of Unique | * Micro version of Unique | |||
*/ | */ | |||
#define UNIQUE_MICRO_VERSION (6) | #define UNIQUE_MICRO_VERSION (2) | |||
/** | /** | |||
* UNIQUE_VERSION_S: | * UNIQUE_VERSION_S: | |||
* | * | |||
* Unique version as a string | * Unique version as a string | |||
*/ | */ | |||
#define UNIQUE_VERSION_S "1.1.6" | #define UNIQUE_VERSION_S "3.0.2" | |||
/** | /** | |||
* UNIQUE_VERSION_HEX: | * UNIQUE_VERSION_HEX: | |||
* | * | |||
* Unique version as an hexadecimal integer | * Unique version as an hexadecimal integer | |||
*/ | */ | |||
#define UNIQUE_VERSION_HEX (UNIQUE_MAJOR_VERSION << 16 | \ | #define UNIQUE_VERSION_HEX (UNIQUE_MAJOR_VERSION << 16 | \ | |||
UNIQUE_MINOR_VERSION << 8 | \ | UNIQUE_MINOR_VERSION << 8 | \ | |||
UNIQUE_MICRO_VERSION) | UNIQUE_MICRO_VERSION) | |||
/** | /** | |||
* UNIQUE_API_VERSION: | * UNIQUE_API_VERSION: | |||
* | * | |||
* API version | * API version | |||
*/ | */ | |||
#define UNIQUE_API_VERSION (1.0) | #define UNIQUE_API_VERSION (3.0) | |||
/** | /** | |||
* UNIQUE_API_VERSION_S: | * UNIQUE_API_VERSION_S: | |||
* | * | |||
* API version as a string | * API version as a string | |||
*/ | */ | |||
#define UNIQUE_API_VERSION_S "1.0" | #define UNIQUE_API_VERSION_S "3.0" | |||
/** | /** | |||
* UNIQUE_PROTOCOL_VERSION: | * UNIQUE_PROTOCOL_VERSION: | |||
* | * | |||
* Protocol version | * Protocol version | |||
*/ | */ | |||
#define UNIQUE_PROTOCOL_VERSION (1.0) | #define UNIQUE_PROTOCOL_VERSION (1.0) | |||
/** | /** | |||
* UNIQUE_PROTOCOL_VERSION_S: | * UNIQUE_PROTOCOL_VERSION_S: | |||
* | * | |||
* Protocol version as a string | * Protocol version as a string | |||
*/ | */ | |||
#define UNIQUE_PROTOCOL_VERSION_S "1.0" | #define UNIQUE_PROTOCOL_VERSION_S "1.0" | |||
/** | /** | |||
* UNIQUE_DEFAULT_BACKEND_S: | * UNIQUE_DEFAULT_BACKEND_S: | |||
* | * | |||
* Default backend as a string | * Default backend as a string | |||
*/ | */ | |||
#define UNIQUE_DEFAULT_BACKEND_S "dbus" | #define UNIQUE_DEFAULT_BACKEND_S "gdbus" | |||
/** | /** | |||
* UNIQUE_CHECK_VERSION: | * UNIQUE_CHECK_VERSION: | |||
* @major: major version, like 1 | * @major: major version, like 1 | |||
* @minor: minor version, like 2 | * @minor: minor version, like 2 | |||
* @micro: micro version, like 3 | * @micro: micro version, like 3 | |||
* | * | |||
* Evaluates to %TRUE when the given version is higher than the version | * Evaluates to %TRUE when the given version is higher than the version | |||
* of Unique. | * of Unique. | |||
*/ | */ | |||
End of changes. 7 change blocks. | ||||
7 lines changed or deleted | 7 lines changed or added | |||