summaryrefslogtreecommitdiff
path: root/src/manager/service/glib-logic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/service/glib-logic.h')
-rw-r--r--src/manager/service/glib-logic.h55
1 files changed, 28 insertions, 27 deletions
diff --git a/src/manager/service/glib-logic.h b/src/manager/service/glib-logic.h
index ef3a3ff2..7cadbfeb 100644
--- a/src/manager/service/glib-logic.h
+++ b/src/manager/service/glib-logic.h
@@ -31,38 +31,39 @@ namespace CKM {
class GLIBLogic {
public:
- GLIBLogic();
+ GLIBLogic();
- NONCOPYABLE(GLIBLogic);
+ NONCOPYABLE(GLIBLogic);
+
+ void LoopStart();
+ void LoopStop();
+ void SetCommManager(CommMgr *manager);
+ virtual ~GLIBLogic();
- void LoopStart();
- void LoopStop();
- void SetCommManager(CommMgr *manager);
- virtual ~GLIBLogic();
protected:
- static int packageEventCallbackStatic(
- uid_t uid,
- int reqid,
- const char *pkgtype,
- const char *pkgid,
- const char *key,
- const char *val,
- const void *pmsg,
- void *data);
+ static int packageEventCallbackStatic(
+ uid_t uid,
+ int reqid,
+ const char *pkgtype,
+ const char *pkgid,
+ const char *key,
+ const char *val,
+ const void *pmsg,
+ void *data);
- int packageEventCallback(
- uid_t uid,
- int reqid,
- const char *pkgtype,
- const char *pkgid,
- const char *key,
- const char *val,
- const void *pmsg,
- void *data);
+ int packageEventCallback(
+ uid_t uid,
+ int reqid,
+ const char *pkgtype,
+ const char *pkgid,
+ const char *key,
+ const char *val,
+ const void *pmsg,
+ void *data);
- CommMgr *m_commMgr;
- GMainLoop *m_gMainLoop;
- int m_reqid;
+ CommMgr *m_commMgr;
+ GMainLoop *m_gMainLoop;
+ int m_reqid;
};
} // namespace CKM