Initialize Tizen 2.3
[framework/web/wrt-plugins-common.git] / src_mobile / modules / API / TizenServiceEvent / ITizenServiceEvent.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /**
17  *
18  * @file        ITizenServiceEvent.h
19  * @author      Yunchan Cho (yunchan.cho@samsung.com)
20  * @version     0.1
21  * @brief       Tizen Service event interfece
22  */
23
24 #ifndef _WRT_PLUGIN_TIZEN_SERVICE_EVENT_INTERFACE_H_
25 #define _WRT_PLUGIN_TIZEN_SERVICE_EVENT_INTERFACE_H_
26
27 #include <string>
28 #include <dpl/shared_ptr.h>
29
30 namespace WrtDeviceApis {
31 namespace TizenServiceEvent {
32 namespace Api {
33 class ITizenServiceEvent
34 {
35   public:
36     virtual float getScale() const = 0;
37     virtual std::string getBundle() const = 0;
38
39     virtual void setScale(const float scale) = 0;
40     virtual void setBundle(const std::string &bundle) = 0;
41     virtual ~ITizenServiceEvent() {}
42 };
43
44 typedef DPL::SharedPtr<ITizenServiceEvent> ITizenServiceEventPtr;
45 } // Api
46 } // TizenServiceEvent
47 } // WrtDeviceApis
48
49 #endif // _WRT_PLUGIN_TIZEN_SERVICE_EVENT_INTERFACE_H_