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 FUiTouchInfo.h
20 * @brief This is the header file for the %TouchInfo class.
22 * This header file contains the declarations of the %TouchInfo class.
26 #ifndef _FUI_TOUCH_INFO_H_
27 #define _FUI_TOUCH_INFO_H_
29 #include <FBaseObject.h>
30 #include <FUiTouchEventInfo.h>
32 namespace Tizen { namespace Ui
40 * @brief <i> [Deprecated] </i> This class stores the information of a touch event.
42 * @deprecated This class is deprecated because the use of %TouchInfo is no longer recommended. Instead of using this class, use the Tizen::Ui::TouchEventInfo class.
45 * @final This class is not intended for extension.
47 * The %TouchInfo class provides touch-related information to support multi-point touch.
50 class _OSP_EXPORT_ TouchInfo
51 : public Tizen::Base::Object
56 * This is the default constructor for this class.
58 * @brief <i> [Deprecated] </i>
59 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventInfo class.
66 , status(TOUCH_PRESSED)
72 * The ID of the Touch instance.
74 * @brief <i> [Deprecated] </i>
75 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventManager::GetTouchInfoListN()
76 * and use the Tizen::Ui::TouchEventInfo::GetPointId() method.
84 * The position of the Touch instance.
86 * @brief <i> [Deprecated] </i>
87 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventManager::GetTouchInfoListN()
88 * and use the Tizen::Ui::TouchEventInfo::GetCurrentPosition() method.
92 Tizen::Graphics::Point position;
96 * The status of the Touch instance, using only the @c TOUCH_PRESSED and @c TOUCH_RELEASED states.
98 * @brief <i> [Deprecated] </i>
99 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventManager::GetTouchInfoListN()
100 * and use the Tizen::Ui::TouchEventInfo::GetTouchStatus() method.
109 #endif // _FUI_TOUCH_INFO_H_