2 // Open Service Platform
3 // Copyright (c) 2012 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.
19 * @file FShell_LiveboxPopupContext.h
20 * @brief This is the header file for the %_LiveboxPopupContext class.
22 * This header file contains the declarations of the %_LiveboxPopupContext class.
25 #ifndef _FSHELL_INTERNAL_LIVEBOX_POPUP_CONTEXT_H_
26 #define _FSHELL_INTERNAL_LIVEBOX_POPUP_CONTEXT_H_
28 #include "FShell_LiveboxContextBase.h"
30 namespace Tizen { namespace Shell { namespace App
33 class _LiveboxPopupContext
34 :public Tizen::Shell::App::_LiveboxContextBase
37 _LiveboxPopupContext(const Tizen::Base::String& userInfo, const Tizen::Base::String& appId, const Tizen::Base::String& instanceId, int width, int height, int priority);
38 virtual ~_LiveboxPopupContext();
41 void OnPopupCreated(int x, int y, int width, int height);
42 void OnPopupDestoyed(void);
45 result SendPopupCreateRequest(int x, int y, int width, int height);
46 result SendPopupDestroyRequest();
47 virtual result SendTouchEvent(buffer_event event, double timestamp, double x, double y);
49 result RequestUpdateRemote();
54 } /* namespace Livebox */
55 } /* namespace Samsung */
56 #endif // _FSHELL_INTERNAL_LIVEBOX_POPUP_CONTEXT_H_