Tizen 2.1 base
[framework/osp/uifw.git] / src / ui / scenes / FUiScenes_SceneControlEventArg.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.org/license/
10 //
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.
16 //
17 /**
18  * @file        FUiScenes_SceneControlEventArg.h
19  * @brief       This is the header file of the _SceneControlEventArg class.
20  *
21  * This header file contains the declarations of the _ class.
22  */
23
24 #ifndef _FUI_SCENES_INTERNAL_SCENE_CONTROL_EVENT_ARG_H_
25 #define _FUI_SCENES_INTERNAL_SCENE_CONTROL_EVENT_ARG_H_
26
27 #include <FBaseObject.h>
28 #include <FBaseRtIEventArg.h>
29 #include <FUiScenesTypes.h>
30
31
32 namespace Tizen { namespace Ui { namespace Scenes
33 {
34
35 class _SceneControlEventArg
36         : public Tizen::Base::Object
37         , public Tizen::Base::Runtime::IEventArg
38 {
39 public:
40         enum SceneControlEventType
41         {
42                 SCENE_CONTROL_EVENT_TYPE_NONE,
43                 SCENE_CONTROL_EVENT_TYPE_DESTROY,       // Destroy the specified Scene
44         };
45
46         _SceneControlEventArg(_SceneControlEventArg::SceneControlEventType eventType, const SceneId& sceneId);
47         virtual ~_SceneControlEventArg(void);
48
49         _SceneControlEventArg::SceneControlEventType GetEventType(void) const;
50         SceneId GetSceneId(void) const;
51
52 private:
53         _SceneControlEventArg(void);
54         _SceneControlEventArg(const _SceneControlEventArg& value);
55         _SceneControlEventArg& operator =(const _SceneControlEventArg& rhs);
56
57         _SceneControlEventArg::SceneControlEventType __eventType;
58         SceneId __sceneId;
59
60 }; // _SceneControlEventArg
61 } } } // Tizen::Ui::Scenes
62
63 #endif // _FUI_SCENES_INTERNAL_SCENE_CONTROL_EVENT_ARG_H_