add patch
[framework/osp/uifw.git] / src / app / inc / FApp_CoordinateInfo.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file        FApp_CoordinateInfo.h
20  * @brief       This is the header file for the %_CoordinateInfo class.
21  */
22
23 #ifndef _FAPP_INTERNAL_COORDINATE_INFO_H_
24 #define _FAPP_INTERNAL_COORDINATE_INFO_H_
25
26 //#include <FBaseObject.h>
27 #include <FBaseString.h>
28 #include <FGrp_CoordinateSystem.h>
29
30
31
32 namespace Tizen { namespace App
33 {
34
35 /**
36  * @class       _CoordinateInfo
37  * @brief       This class handles the application coordinate system information
38  *
39  * This class handles the coordinate system
40  */
41 class _CoordinateInfo
42 {
43 public:
44         /**
45          * Get the application coordinate system
46          */
47         static result GetAppCoordinateSystem(bool& isCoordinateSystemLogical, int& logicalCoordinateSystemInt, Tizen::Graphics::_BaseScreenSize& logicalBaseScreenSize);
48
49 private:
50         /**
51          * This is the default constructor for this class.
52          */
53         _CoordinateInfo(void);
54
55         /**
56          * This is the destructor for this class.
57          */
58         ~_CoordinateInfo(void);
59
60         /**
61          * This is the copy constructor for the this class.
62          */
63         _CoordinateInfo(const _CoordinateInfo& value);
64
65         /**
66          * This is the assignment operator for this class.
67          */
68         _CoordinateInfo& operator =(const _CoordinateInfo& value);
69
70         /**
71          * Get the application coordinate system from info file
72          */
73         static result GetAppCoordinateSystemFromInfoFile(bool& isCoordinateSystemLogical, int& logicalCoordinateSystemInt, Tizen::Graphics::_BaseScreenSize& logicalBaseScreenSize);
74
75         /**
76          * Get the application coordinate system from database
77          */
78         static result GetAppCoordinateSystemFromDatabase(bool& isCoordinateSystemLogical, int& logicalCoordinateSystemInt, Tizen::Graphics::_BaseScreenSize& logicalBaseScreenSize);
79
80 }; //_CoordinateInfo
81
82 } } //Tizen::App
83
84 #endif // _FAPP_INTERNAL_COORDINATE_INFO_H_
85