2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
18 * @file FUiEffectsEffectTouchInfo.h
19 * @brief This is the header file for the EffectTouchInfo class
21 #ifndef _FUI_EFFECTS_EFFECTTOUCHINFO_H_
22 #define _FUI_EFFECTS_EFFECTTOUCHINFO_H_
24 #include <FBaseObject.h>
26 namespace Tizen { namespace Graphics {
28 } } // Tizen::Graphics
30 namespace Tizen { namespace Ui { namespace Effects
34 * @class EffectTouchInfo
35 * @brief This class is used for construction touch event extended info
49 EffectTouchInfo(void);
57 EffectTouchInfo(Tizen::Graphics::Point currentPosition,
58 Tizen::Graphics::Point startPosition,
59 unsigned long touchId);
67 virtual ~EffectTouchInfo(void);
70 * Sets current position of touch
75 void SetCurrentPosition(const Tizen::Graphics::Point& currentPosition);
78 * Sets start position of touch
83 void SetStartPosition(const Tizen::Graphics::Point& startPosition);
86 * Gets current position of touch
91 Tizen::Graphics::Point GetCurrentPosition(void) const;
94 * Returns start position of touch
99 Tizen::Graphics::Point GetStartPosition(void) const;
107 void SetTouchId(unsigned long touchId);
115 unsigned long GetTouchId(void) const;
122 * Hidden copy constructor
127 EffectTouchInfo(const EffectTouchInfo &rhs);
130 * Hidden assignment operator
135 EffectTouchInfo &operator=(const EffectTouchInfo &rhs);
143 Tizen::Graphics::Point __currentPosition; /**< means the current point of some touch event */
144 Tizen::Graphics::Point __startPosition; /**< means the start (first) point of some touch event */
145 unsigned long __touchId;
148 } } } // Tizen::Ui::Effects
150 #endif //_FUI_EFFECTS_EFFECTTOUCHINFO_H_