2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
19 * @file FApp_CoordinateInfo.h
20 * @brief This is the header file for the %_CoordinateInfo class.
23 #ifndef _FAPP_INTERNAL_COORDINATE_INFO_H_
24 #define _FAPP_INTERNAL_COORDINATE_INFO_H_
26 //#include <FBaseObject.h>
27 #include <FBaseString.h>
28 #include <FGrp_CoordinateSystem.h>
32 namespace Tizen { namespace App
36 * @class _CoordinateInfo
37 * @brief This class handles the application coordinate system information
39 * This class handles the coordinate system
45 * Get the application coordinate system
47 static result GetAppCoordinateSystem(bool& isCoordinateSystemLogical, int& logicalCoordinateSystemInt, Tizen::Graphics::_BaseScreenSize& logicalBaseScreenSize);
51 * This is the default constructor for this class.
53 _CoordinateInfo(void);
56 * This is the destructor for this class.
58 ~_CoordinateInfo(void);
61 * This is the copy constructor for the this class.
63 _CoordinateInfo(const _CoordinateInfo& value);
66 * This is the assignment operator for this class.
68 _CoordinateInfo& operator =(const _CoordinateInfo& value);
71 * Get the application coordinate system from info file
73 static result GetAppCoordinateSystemFromInfoFile(bool& isCoordinateSystemLogical, int& logicalCoordinateSystemInt, Tizen::Graphics::_BaseScreenSize& logicalBaseScreenSize);
76 * Get the application coordinate system from database
78 static result GetAppCoordinateSystemFromDatabase(bool& isCoordinateSystemLogical, int& logicalCoordinateSystemInt, Tizen::Graphics::_BaseScreenSize& logicalBaseScreenSize);
84 #endif // _FAPP_INTERNAL_COORDINATE_INFO_H_