2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0/
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 FUi_ActiveWindowEvent.h
19 * @brief This is the header file for _ActiveWindowEvent class.
23 #ifndef _FUI_INTERNAL_ACTIVE_WINDOW_EVENT_H_
24 #define _FUI_INTERNAL_ACTIVE_WINDOW_EVENT_H_
26 #include <FBaseResult.h>
27 #include <FBaseRt_Event.h>
28 #include <FApp_IActiveWindowEventListener.h>
30 namespace Tizen { namespace Ui
32 class _ActiveWindowEvent
33 : public Tizen::Base::Runtime::_Event
36 static _ActiveWindowEvent* CreateInstanceN(void);
37 static Tizen::Base::Runtime::IEventArg* CreateActiveWindowEventArgN(unsigned int xid, int pid, char* pAppName);
39 virtual ~_ActiveWindowEvent(void);
42 virtual void FireImpl(Tizen::Base::Runtime::IEventListener& listener, const Tizen::Base::Runtime::IEventArg& arg);
44 _ActiveWindowEvent(void);
46 _ActiveWindowEvent(const _ActiveWindowEvent& rhs);
47 _ActiveWindowEvent& operator =(const _ActiveWindowEvent& rhs);
48 }; // _ActiveWindowEvent
52 #endif // _FUI_INTERNAL_ACTIVE_WINDOW_EVENT_H_