[Release] livebox.web-provider-1.18
[platform/framework/web/web-provider.git] / src / Core / Box.h
index 12e1418..0ab2f18 100644 (file)
@@ -46,11 +46,12 @@ class Box: public IBox, public IBoxContext {
         bool hide();
         bool resize(int width, int height);
         bool resume();
-        bool pause();
+        bool pause(bool background);
         bool openPd(int width, int height, double x, double y);
         bool closePd();
         bool update();
         bool changePeriod(float period);
+        bool isCurrentTab();
         ~Box();
 
     private:
@@ -74,6 +75,7 @@ class Box: public IBox, public IBoxContext {
         IRenderBufferPtr m_pdBuffer;
         IRenderViewPtr m_view;
         ITimerPtr m_updateTimer;
+        bool m_currentTab;
         //IBoxStatePtr m_state;
 
         friend class BoxSchemeHandler;