Revert " modify license, permission and remove ^M char"
[framework/osp/uifw.git] / src / ui / inc / FUi_ClipboardPopupEvent.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 /**
19  * @file        FUi_ClipboardPopupEvent.h
20  * @brief       This is the header file containing the declaration of the _ClipboardPopupEvent class.
21  *
22  * This header file contains the declarations of the _ClipboardPopupEvent class.
23  */
24
25 #ifndef _FUI_INTERNAL_CLIPBOARD_POPUP_EVENT_H_
26 #define _FUI_INTERNAL_CLIPBOARD_POPUP_EVENT_H_
27
28 #include <FBaseResult.h>
29 #include <FBaseRt_Event.h>
30 #include <FUi_IClipboardPopupEventListener.h>
31
32 namespace Tizen { namespace Ui
33 {
34
35 enum _ClipboardPopupState
36 {
37         _CLIPBOARD_POPUP_STATE_OPENED,
38         _CLIPBOARD_POPUP_STATE_CLOSED,
39         _CLIPBOARD_POPUP_STATE_BOUNDS_CHANGED,
40 };
41
42 class _ClipboardPopupEvent
43         : public Tizen::Base::Runtime::_Event
44 {
45 public:
46         static _ClipboardPopupEvent* CreateInstanceN(void);
47         static Tizen::Base::Runtime::IEventArg* CreateClipboardPopupEventArgN(_ClipboardPopupState clipboardPopupState, Tizen::Graphics::Dimension& clipboardPopupSize);
48
49         virtual ~_ClipboardPopupEvent(void);
50
51 protected:
52         virtual void FireImpl(Tizen::Base::Runtime::IEventListener& listener, const Tizen::Base::Runtime::IEventArg& arg);
53
54 private:
55         _ClipboardPopupEvent(void);
56
57         _ClipboardPopupEvent(const _ClipboardPopupEvent& rhs);
58         _ClipboardPopupEvent& operator =(const _ClipboardPopupEvent& rhs);
59 }; // _ClipboardPopupEvent
60
61 }} // Tizen::Ui
62
63 #endif // _FUI_INTERNAL_CLIPBOARD_POPUP_EVENT_H_