modify license, permission and remove ^M char
[platform/framework/native/uifw.git] / src / ui / FUi_ActiveWindowEvent.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0/
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                FUi_ActiveWindowEvent.h
19  * @brief               This is the header file for _ActiveWindowEvent class.
20  * @since               2.0
21  *
22  */
23 #ifndef _FUI_INTERNAL_ACTIVE_WINDOW_EVENT_H_
24 #define _FUI_INTERNAL_ACTIVE_WINDOW_EVENT_H_
25
26 #include <FBaseResult.h>
27 #include <FBaseRt_Event.h>
28 #include <FApp_IActiveWindowEventListener.h>
29
30 namespace Tizen { namespace Ui
31 {
32 class _ActiveWindowEvent
33         : public Tizen::Base::Runtime::_Event
34 {
35 public:
36         static _ActiveWindowEvent* CreateInstanceN(void);
37         static Tizen::Base::Runtime::IEventArg* CreateActiveWindowEventArgN(unsigned int xid, int pid, char* pAppName);
38
39         virtual ~_ActiveWindowEvent(void);
40
41 private:
42         virtual void FireImpl(Tizen::Base::Runtime::IEventListener& listener, const Tizen::Base::Runtime::IEventArg& arg);
43
44         _ActiveWindowEvent(void);
45
46         _ActiveWindowEvent(const _ActiveWindowEvent& rhs);
47         _ActiveWindowEvent& operator =(const _ActiveWindowEvent& rhs);
48 }; // _ActiveWindowEvent
49
50 }} // Tizen::Ui
51
52 #endif // _FUI_INTERNAL_ACTIVE_WINDOW_EVENT_H_