kee-uicontext.h (511B)
1 #ifndef _GTK_KEE_UICONTEXT_H 2 #define _GTK_KEE_UICONTEXT_H 3 4 #include <glib-object.h> 5 6 #include "context.h" 7 #include "state.h" 8 9 G_BEGIN_DECLS 10 11 // 12 //enum KEE_SIGS { 13 // KEE_S_STATE_CHANGE, 14 // KEE_S_KEY_UNLOCKED, 15 // KEE_N_SIGS, 16 //}; 17 18 #define KEE_TYPE_UICONTEXT kee_uicontext_get_type() 19 G_DECLARE_FINAL_TYPE(KeeUicontext, kee_uicontext, KEE, UICONTEXT, GObject) 20 21 KeeUicontext* kee_uicontext_new(void); 22 kee_state_t kee_uicontext_state(KeeUicontext *o); 23 void kee_uicontext_unlock(KeeUicontext *o); 24 25 G_END_DECLS 26 27 #endif