aboutsummaryrefslogtreecommitdiff
path: root/src/service.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-04-18 11:13:03 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-04-18 11:13:03 -0500
commit67218e58889b101ceb5a50bcb40c37045fb2855d (patch)
treeba37f8f02116e8b2aefa23bf2be0509d53367e6a /src/service.h
parentd79745bdb2e9bbd02e162a5209de9f227d1dbbc3 (diff)
downloadayatana-indicator-session-67218e58889b101ceb5a50bcb40c37045fb2855d.tar.gz
ayatana-indicator-session-67218e58889b101ceb5a50bcb40c37045fb2855d.tar.bz2
ayatana-indicator-session-67218e58889b101ceb5a50bcb40c37045fb2855d.zip
indicator-session-service should exit when it loses ownership of its name on the bus.
Diffstat (limited to 'src/service.h')
-rw-r--r--src/service.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/service.h b/src/service.h
index 2a78855..3fad6bf 100644
--- a/src/service.h
+++ b/src/service.h
@@ -36,6 +36,9 @@ typedef struct _IndicatorSessionService IndicatorSessionService;
typedef struct _IndicatorSessionServiceClass IndicatorSessionServiceClass;
typedef struct _IndicatorSessionServicePrivate IndicatorSessionServicePrivate;
+/* signal keys */
+#define INDICATOR_SESSION_SERVICE_SIGNAL_NAME_LOST "name-lost"
+
/**
* The Indicator Session Service.
*/
@@ -49,6 +52,10 @@ struct _IndicatorSessionService
struct _IndicatorSessionServiceClass
{
GObjectClass parent_class;
+
+ /* signals */
+
+ void (* name_lost)(IndicatorSessionService * self);
};
/***