Some interfaces were added for SystemController
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCWindow.h
index 1702a31..bc50191 100644 (file)
@@ -11,7 +11,7 @@
 /**
  *  @file   CicoSCWindow.h
  *
- *  @brief  
+ *  @brief  This file is definition of CicoSCWindow class
  */
 //==========================================================================
 #ifndef __CICO_SC_WINDOW_H__
 
 #include <string>
 
-using namespace std;
-
-//==========================================================================
-//  Forward declaration
-//==========================================================================
-class CicoSCDisplay;
-class CicoSCLayer;
-class CicoSCApplication;
-
 //==========================================================================
 //  define macro
 //==========================================================================
 #define ICO_SURFACEID_2_HOSTID(surfid)      (((unsigned int)surfid) >> 24)
-#define ICO_SURFACEID_2_DISPLAYNO(surfid)   (((unsigned int)surfid) >> 16) 
+#define ICO_SURFACEID_2_DISPLAYNO(surfid)   (((unsigned int)surfid) >> 16)
 #define ICO_SURFACEID_2_NODEID(surfid)      (((unsigned int)surfid) >> 16)
 #define ICO_SURFACEID_BASE(nodeid)          (((unsigned int)nodeid) << 16)
 
 //--------------------------------------------------------------------------
 /**
- *  @brief window information class
+ *  @brief This class holds window information
  */
 //--------------------------------------------------------------------------
 class CicoSCWindow
@@ -61,32 +52,27 @@ private:
     CicoSCWindow(const CicoSCWindow &object);
 
 public:
-    CicoSCDisplay     *m_display;       //!< display local cache
-    CicoSCLayer       *m_layer;         //!< layer local cache
-    CicoSCApplication *m_application;   //!< process local cache
-    CicoSCWindow      *m_parent;        //!< parent window
-
-    short             state;            //!< Window status
-    unsigned char     request;          //!< Request
-
-    int               surfaceid;        //!< sruface id (window id)
-    string            name;             //!< wondow name
-    string            appid;            //!< application id
-    int               pid;              //!< process id
+    int               surfaceid;    ///< surface id (window id)
+    std::string       name;         ///< window name
+    std::string       appid;        ///< application id
+    int               pid;          ///< process id
 
-    int               nodeid;           //!< node id
-    int               displayid;        //!< display id
-    int               layerid;          //!< layer id
-    int               zoneid;           //!< display zone id
-    int               subwindow;        //!< main window(=0) or sub window(>0)
-    unsigned int      eventmask;        //!< Event to receive through this window
-    int               x;                //!< Upperleft X coord of the window
-    int               y;                //!< Upper left Y coord of the window
-    int               width;            //!< width of window
-    int               height;           //!< height of window
-    bool              visible;          //!< visibility
-    bool              raise;            //!< raise/lower
-    bool              active;           //!  active/inactive
+    int               nodeid;       ///< node id
+    int               displayid;    ///< display id
+    int               layerid;      ///< layer id
+    std::string       zone;         ///< display zone name
+    int               zoneid;       ///< display zone id
+    int               subwindow;    ///< main window(0) or sub window(!0)
+    unsigned int      eventmask;    ///< event to receive through this window
+    int               srcwidth;     ///< width of application frame buffer
+    int               srcheight;    ///< height of application frame buffer
+    int               x;            ///< upper left X coord of the window
+    int               y;            ///< upper left Y coord of the window
+    int               width;        ///< width of window
+    int               height;       ///< height of window
+    bool              visible;      ///< visibility
+    bool              raise;        ///< raise/lower
+    bool              active;       ///< active/inactive
 };
-#endif // __CICO_SC_WINDOW_H__
+#endif  // __CICO_SC_WINDOW_H__
 // vim:set expandtab ts=4 sw=4: