Add two parameterized constructors of Timer for specifying the main context
[platform/core/context/context-common.git] / include / Timer.h
index 3cb867f..3e0d019 100644 (file)
 
 namespace ctx {
 
+       class ServiceBase;
        class ITimerListener;
 
        /* All timers expire in the context where the Timer object is created. */
        class EXPORT_API Timer {
        public:
                Timer();
+               Timer(ServiceBase* hostService);
+               Timer(GMainContext* mainContext);
                ~Timer();
 
                /* This is a helper function that chooses and executes one of the below three functions. */