diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 21:18:56 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-02-16 21:18:56 +0100 |
commit | ba27629c4519fa09da8cbfaffe2dcff003fcfef0 (patch) | |
tree | 67aa7e8ecbb19c0c0dd4f5b1e2ea3e003684c0cd /src/cups-notifier.h | |
parent | 1204ca2827e64aa041b4bd36813be3d70db54802 (diff) | |
parent | 8ce897a37ffe58051684fba7478a2f076aeec57d (diff) | |
download | ayatana-indicator-printers-ba27629c4519fa09da8cbfaffe2dcff003fcfef0.tar.gz ayatana-indicator-printers-ba27629c4519fa09da8cbfaffe2dcff003fcfef0.tar.bz2 ayatana-indicator-printers-ba27629c4519fa09da8cbfaffe2dcff003fcfef0.zip |
* New upstream release.
- prepare for i18n
- make sure CUPS' dbus notification is on while the service is running
- fix build system to enable out-of-tree builds
* debian/control
- bump libindicator dependency 0.3.91
Diffstat (limited to 'src/cups-notifier.h')
-rw-r--r-- | src/cups-notifier.h | 418 |
1 files changed, 0 insertions, 418 deletions
diff --git a/src/cups-notifier.h b/src/cups-notifier.h deleted file mode 100644 index fac96d1..0000000 --- a/src/cups-notifier.h +++ /dev/null @@ -1,418 +0,0 @@ -/* - * Generated by gdbus-codegen 2.31.16. DO NOT EDIT. - * - * The license of this code is the same as for the source it was derived from. - */ - -#ifndef __CUPS_NOTIFIER_H__ -#define __CUPS_NOTIFIER_H__ - -#include <gio/gio.h> - -G_BEGIN_DECLS - - -/* ------------------------------------------------------------------------ */ -/* Declarations for org.cups.cupsd.Notifier */ - -#define CUPS_TYPE_NOTIFIER (cups_notifier_get_type ()) -#define CUPS_NOTIFIER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CUPS_TYPE_NOTIFIER, CupsNotifier)) -#define CUPS_IS_NOTIFIER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CUPS_TYPE_NOTIFIER)) -#define CUPS_NOTIFIER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CUPS_TYPE_NOTIFIER, CupsNotifierIface)) - -struct _CupsNotifier; -typedef struct _CupsNotifier CupsNotifier; -typedef struct _CupsNotifierIface CupsNotifierIface; - -struct _CupsNotifierIface -{ - GTypeInterface parent_iface; - - void (*job_completed) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs, - guint arg_job_id, - guint arg_job_state, - const gchar *arg_job_state_reasons, - const gchar *arg_job_name, - guint arg_job_impressions_completed); - - void (*job_created) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs, - guint arg_job_id, - guint arg_job_state, - const gchar *arg_job_state_reasons, - const gchar *arg_job_name, - guint arg_job_impressions_completed); - - void (*job_state) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs, - guint arg_job_id, - guint arg_job_state, - const gchar *arg_job_state_reasons, - const gchar *arg_job_name, - guint arg_job_impressions_completed); - - void (*printer_added) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_deleted) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_finishings_changed) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_media_changed) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_modified) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_restarted) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_shutdown) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_state_changed) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*printer_stopped) ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - - void (*server_audit) ( - CupsNotifier *object, - const gchar *arg_text); - - void (*server_restarted) ( - CupsNotifier *object, - const gchar *arg_text); - - void (*server_started) ( - CupsNotifier *object, - const gchar *arg_text); - - void (*server_stopped) ( - CupsNotifier *object, - const gchar *arg_text); - -}; - -GType cups_notifier_get_type (void) G_GNUC_CONST; - -GDBusInterfaceInfo *cups_notifier_interface_info (void); -guint cups_notifier_override_properties (GObjectClass *klass, guint property_id_begin); - - -/* D-Bus signal emissions functions: */ -void cups_notifier_emit_server_started ( - CupsNotifier *object, - const gchar *arg_text); - -void cups_notifier_emit_server_restarted ( - CupsNotifier *object, - const gchar *arg_text); - -void cups_notifier_emit_server_stopped ( - CupsNotifier *object, - const gchar *arg_text); - -void cups_notifier_emit_server_audit ( - CupsNotifier *object, - const gchar *arg_text); - -void cups_notifier_emit_printer_added ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_deleted ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_modified ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_restarted ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_stopped ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_shutdown ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_state_changed ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_finishings_changed ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_printer_media_changed ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs); - -void cups_notifier_emit_job_created ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs, - guint arg_job_id, - guint arg_job_state, - const gchar *arg_job_state_reasons, - const gchar *arg_job_name, - guint arg_job_impressions_completed); - -void cups_notifier_emit_job_completed ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs, - guint arg_job_id, - guint arg_job_state, - const gchar *arg_job_state_reasons, - const gchar *arg_job_name, - guint arg_job_impressions_completed); - -void cups_notifier_emit_job_state ( - CupsNotifier *object, - const gchar *arg_text, - const gchar *arg_printer_uri, - const gchar *arg_printer_name, - guint arg_printer_state, - const gchar *arg_printer_state_reasons, - gboolean arg_printer_is_accepting_jobs, - guint arg_job_id, - guint arg_job_state, - const gchar *arg_job_state_reasons, - const gchar *arg_job_name, - guint arg_job_impressions_completed); - - - -/* ---- */ - -#define CUPS_TYPE_NOTIFIER_PROXY (cups_notifier_proxy_get_type ()) -#define CUPS_NOTIFIER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CUPS_TYPE_NOTIFIER_PROXY, CupsNotifierProxy)) -#define CUPS_NOTIFIER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CUPS_TYPE_NOTIFIER_PROXY, CupsNotifierProxyClass)) -#define CUPS_NOTIFIER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CUPS_TYPE_NOTIFIER_PROXY, CupsNotifierProxyClass)) -#define CUPS_IS_NOTIFIER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CUPS_TYPE_NOTIFIER_PROXY)) -#define CUPS_IS_NOTIFIER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CUPS_TYPE_NOTIFIER_PROXY)) - -typedef struct _CupsNotifierProxy CupsNotifierProxy; -typedef struct _CupsNotifierProxyClass CupsNotifierProxyClass; -typedef struct _CupsNotifierProxyPrivate CupsNotifierProxyPrivate; - -struct _CupsNotifierProxy -{ - /*< private >*/ - GDBusProxy parent_instance; - CupsNotifierProxyPrivate *priv; -}; - -struct _CupsNotifierProxyClass -{ - GDBusProxyClass parent_class; -}; - -GType cups_notifier_proxy_get_type (void) G_GNUC_CONST; - -void cups_notifier_proxy_new ( - GDBusConnection *connection, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -CupsNotifier *cups_notifier_proxy_new_finish ( - GAsyncResult *res, - GError **error); -CupsNotifier *cups_notifier_proxy_new_sync ( - GDBusConnection *connection, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GError **error); - -void cups_notifier_proxy_new_for_bus ( - GBusType bus_type, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -CupsNotifier *cups_notifier_proxy_new_for_bus_finish ( - GAsyncResult *res, - GError **error); -CupsNotifier *cups_notifier_proxy_new_for_bus_sync ( - GBusType bus_type, - GDBusProxyFlags flags, - const gchar *name, - const gchar *object_path, - GCancellable *cancellable, - GError **error); - - -/* ---- */ - -#define CUPS_TYPE_NOTIFIER_SKELETON (cups_notifier_skeleton_get_type ()) -#define CUPS_NOTIFIER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CUPS_TYPE_NOTIFIER_SKELETON, CupsNotifierSkeleton)) -#define CUPS_NOTIFIER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CUPS_TYPE_NOTIFIER_SKELETON, CupsNotifierSkeletonClass)) -#define CUPS_NOTIFIER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CUPS_TYPE_NOTIFIER_SKELETON, CupsNotifierSkeletonClass)) -#define CUPS_IS_NOTIFIER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CUPS_TYPE_NOTIFIER_SKELETON)) -#define CUPS_IS_NOTIFIER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CUPS_TYPE_NOTIFIER_SKELETON)) - -typedef struct _CupsNotifierSkeleton CupsNotifierSkeleton; -typedef struct _CupsNotifierSkeletonClass CupsNotifierSkeletonClass; -typedef struct _CupsNotifierSkeletonPrivate CupsNotifierSkeletonPrivate; - -struct _CupsNotifierSkeleton -{ - /*< private >*/ - GDBusInterfaceSkeleton parent_instance; - CupsNotifierSkeletonPrivate *priv; -}; - -struct _CupsNotifierSkeletonClass -{ - GDBusInterfaceSkeletonClass parent_class; -}; - -GType cups_notifier_skeleton_get_type (void) G_GNUC_CONST; - -CupsNotifier *cups_notifier_skeleton_new (void); - - -G_END_DECLS - -#endif /* __CUPS_NOTIFIER_H__ */ |