add PauseLifeDurationTimer internal API for AppWidgetPopup
[platform/framework/native/appfw.git] / src / app / inc / FApp_ServiceAppImpl.h
index ec817c2..6b04a91 100644 (file)
@@ -183,7 +183,11 @@ public:
        result Execute(void);
 
 
-       void SetLifeDurationEventListener(_IAppEventListener* pListener);
+       void SetAppTerminatingInternalEventListener(_IAppEventListener* pListener);
+
+       void PauseLifeDurationTimer(void);
+
+       void ResumeLifeDurationTimer(void);
 
 private:
        /**
@@ -229,12 +233,14 @@ private:
 
        ServiceApp* __pServiceApp;
 
-       _IAppEventListener* __pLifeDurationEventListener;
+       _IAppEventListener* __pAppTerminatingInternalEventListener;
 
        Tizen::Base::Runtime::Timer* __pLifeDurationTimer;
 
        int __lifeDuration;
 
+       bool __pauseLifeDurationTimer;
+
        friend class ServiceApp;
 
 }; // _ServiceAppImpl