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.
20 * @file FUiTouchInfo.h
21 * @brief This is the header file for the %TouchInfo class.
23 * This header file contains the declarations of the %TouchInfo class.
27 #ifndef _FUI_TOUCH_INFO_H_
28 #define _FUI_TOUCH_INFO_H_
30 #include <FBaseObject.h>
31 #include <FUiTouchEventInfo.h>
33 namespace Tizen { namespace Ui
41 * @brief <i> [Deprecated] </i> This class stores the information of a touch event.
43 * @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.
46 * @final This class is not intended for extension.
48 * The %TouchInfo class provides touch-related information to support multi-point touch.
51 class _OSP_EXPORT_ TouchInfo
52 : public Tizen::Base::Object
57 * This is the default constructor for this class.
59 * @brief <i> [Deprecated] </i>
60 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventInfo class.
67 , status(TOUCH_PRESSED)
73 * The ID of the Touch instance.
75 * @brief <i> [Deprecated] </i>
76 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventManager::GetTouchInfoListN()
77 * and use the Tizen::Ui::TouchEventInfo::GetPointId() method.
85 * The position of the Touch instance.
87 * @brief <i> [Deprecated] </i>
88 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventManager::GetTouchInfoListN()
89 * and use the Tizen::Ui::TouchEventInfo::GetCurrentPosition() method.
93 Tizen::Graphics::Point position;
97 * The status of the Touch instance, using only the @c TOUCH_PRESSED and @c TOUCH_RELEASED states.
99 * @brief <i> [Deprecated] </i>
100 * @deprecated This method is deprecated because the %TouchInfo class is not supported any more. Instead, use the Tizen::Ui::TouchEventManager::GetTouchInfoListN()
101 * and use the Tizen::Ui::TouchEventInfo::GetTouchStatus() method.
110 #endif // _FUI_TOUCH_INFO_H_