d304d417eb09b50dd3e65e0da0a9b6c9259891b6
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCDisplay.h
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9
10 //==========================================================================
11 /**
12  *  @file   CicoSCDisplay.h
13  *
14  *  @brief  definition of CicoSCDisplay class
15  */
16 //==========================================================================
17 #ifndef __CICO_SC_DISPLAY_H__
18 #define __CICO_SC_DISPLAY_H__
19
20 #include "wayland-client.h"
21
22 #include <string>
23 #include <vector>
24
25 using namespace std;
26
27 //==========================================================================
28 //  Forward declaration
29 //==========================================================================
30 class CicoSCLayer;
31 class CicoSCDisplayZone;
32
33 //==========================================================================
34 /**
35  *  @brief  display information
36  */
37 //==========================================================================
38 class CicoSCDisplay
39 {
40 public:
41     // default constructor
42     CicoSCDisplay();
43
44     // destructor
45     ~CicoSCDisplay();
46
47     // dump log CicoSCDisplay member variables
48     void dump(void);
49
50 private:
51     // assignment operator
52     CicoSCDisplay& operator=(const CicoSCDisplay &object);
53
54     // copy constructor
55     CicoSCDisplay(const CicoSCDisplay &object);
56
57 public:
58     // definition value of horizontal
59     const static int ORIENTATION_HORIZONTAL = 0;    
60     // definition value of vartical
61     const static int ORIENTATION_VERTICAL   = 1;
62
63     int    displayid;   //!< Display ID
64     int    type;        //!< Type
65     int    nodeid;      //!< Host ID
66     int    displayno;   //!< Consecutive numbers
67     int    width;       //!< The number of the lateral pixels
68     int    height;      //!< The number of vertical pixels
69     int    inch;        //!< Screen physical size(0.1 inches of units)
70     int    pWidth;      //!< compositor width
71     int    pHeight;     //!< compositor height
72     int    orientation; //!< screen orientation
73     string name;        //!< Display name
74  
75     vector<CicoSCLayer*> layerList;      //!< list of display layer
76     vector<CicoSCDisplayZone*> zoneList; //!< list of display zone
77 };
78 #endif  // __CICO_SC_DISPLAY_H__
79 // vim:set expandtab ts=4 sw=4: