Update wrt-plugins-common_0.3.53
[framework/web/wrt-plugins-common.git] / src / 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
34 class ITizenServiceEvent
35 {
36   public :
37     virtual float getScale() const = 0;
38     virtual std::string getBundle() const = 0;
39
40     virtual void setScale(const float scale) = 0;
41     virtual void setBundle(const std::string &bundle) = 0;
42     virtual ~ITizenServiceEvent() {};
43 };
44
45 typedef DPL::SharedPtr<ITizenServiceEvent> ITizenServiceEventPtr;
46
47 } // Api
48 } // TizenServiceEvent
49 } // WrtDeviceApis
50
51 #endif // _WRT_PLUGIN_TIZEN_SERVICE_EVENT_INTERFACE_H_