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.
17 #ifndef _FUI_CTRL_INTERNAL_GALLERY_VIEW_EVENT_H_
18 #define _FUI_CTRL_INTERNAL_GALLERY_VIEW_EVENT_H_
20 #include <FBaseObject.h>
22 namespace Tizen { namespace Ui { namespace Controls {
24 enum GalleryViewEventType
26 GALLERY_VIEW_EVENT_ERROR = -1,
27 GALLERY_VIEW_EVENT_BOUNDS_CHANGED,
28 GALLERY_VIEW_EVENT_TOUCH_PRESSED,
29 GALLERY_VIEW_EVENT_TOUCH_RELEASED,
30 GALLERY_VIEW_EVENT_TOUCH_DOUBLE_PRESSED,
31 GALLERY_VIEW_EVENT_TOUCH_MOVED,
32 GALLERY_VIEW_EVENT_TOUCH_PINCH_ZOOM,
33 GALLERY_VIEW_EVENT_TOUCH_FLICK
36 class _GalleryViewEventInfo;
38 class _GalleryViewEvent
39 : public Tizen::Base::Object
42 _GalleryViewEvent(GalleryViewEventType eventType, _GalleryViewEventInfo* eventInfo);
43 virtual ~_GalleryViewEvent(void);
45 GalleryViewEventType GetEventType(void) const;
46 _GalleryViewEventInfo* GetEventInfo(void) const;
49 _GalleryViewEvent(const _GalleryViewEvent& rhs);
50 _GalleryViewEvent& operator=(const _GalleryViewEvent& rhs);
53 GalleryViewEventType __eventType;
54 _GalleryViewEventInfo* __pEventInfo;
55 }; // _GalleryViewEvent
57 }}} // Tizen::Ui::Controls
59 #endif // _FUI_CTRL_INTERNAL_GALLERY_VIEW_EVENT_H_