The license change version 1.0 to version 1.1
[apps/home/wrt-setting.git] / webapp-detail / view.h
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
4   * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 #ifndef WEB_SRC_SETTING_WEBAPP_DETAIL_VIEW_H_ 
18 #define WEB_SRC_SETTING_WEBAPP_DETAIL_VIEW_H_
19
20 #include <Evas.h>
21
22 namespace WebAppDetailSetting {
23 class View
24 {
25     Evas_Object *m_base;
26
27   public:
28     View(void) : m_base(NULL) { };
29     virtual ~View(void);
30
31     void resetBase(Evas_Object *base = NULL);
32     Evas_Object *getBase(void) { return m_base; }
33     virtual void onShow(void) { };
34     virtual void onHide(void) { };
35     virtual void onDel(void) { };
36 };
37
38 } /* WebAppDetailSetting */
39
40 #endif /* WEB_SRC_SETTING_WEBAPP_DETAIL_VIEW_H_ */