From eafd110730ff123526439b807b3adc229a19c1ee Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 3 Apr 2010 17:48:36 +0200 Subject: Imported Upstream version 0.15 --- src/krb5-auth-applet.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/krb5-auth-applet.h') diff --git a/src/krb5-auth-applet.h b/src/krb5-auth-applet.h index 06e45f9..e0f32e4 100644 --- a/src/krb5-auth-applet.h +++ b/src/krb5-auth-applet.h @@ -50,12 +50,22 @@ typedef struct _KaAppletPrivate KaAppletPrivate; GType ka_applet_get_type (void); +/* signals emitted by KaApplet */ +typedef enum { + KA_SIGNAL_ACQUIRED_TGT, /* New TGT acquired */ + KA_SIGNAL_RENEWED_TGT, /* TGT got renewed */ + KA_SIGNAL_EXPIRED_TGT, /* TGT expired or ticket cache got destroyed */ + KA_SIGNAL_COUNT +} KaAppletSignalNumber; + /* public functions */ gboolean ka_applet_get_show_trayicon(const KaApplet* applet); void ka_applet_set_tgt_renewable(KaApplet* applet, gboolean renewable); gboolean ka_applet_get_tgt_renewable(const KaApplet* applet); guint ka_applet_get_pw_prompt_secs(const KaApplet* applet); KaPwDialog* ka_applet_get_pwdialog(const KaApplet* applet); +void ka_applet_signal_emit(KaApplet* applet, KaAppletSignalNumber signum, + krb5_timestamp expiry); /* create the applet */ KaApplet* ka_applet_create(void); -- cgit