diff options
Diffstat (limited to 'lib/common/include/ViewData.h')
-rw-r--r-- | lib/common/include/ViewData.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/common/include/ViewData.h b/lib/common/include/ViewData.h new file mode 100644 index 0000000..3973d30 --- /dev/null +++ b/lib/common/include/ViewData.h @@ -0,0 +1,50 @@ +/* + * Copyright 2012-2013 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __COMMON_VIEW_DATA_H__ +#define __COMMON_VIEW_DATA_H__ + +#include <Elementary.h> +#include "NonCopyable.h" + +typedef struct ui_gadget_s *ui_gadget_h; + +namespace Common +{ + /* + * \par Description: + * Members for legacy code support. + * Any new views shouldn't use these members. + */ + struct ViewData : public Utils::NonCopyable + { + Evas_Object *win; + Evas_Object *navi; + Evas_Object *layout; + Evas_Object *popup; + Evas_Object *m_Menu; + Evas_Object *m_ContextMenu; + Evas_Object *m_Widget; + Elm_Object_Item *navi_item; + Elm_Theme *th; + ui_gadget_h ug; + ui_gadget_h child_ug; + + ViewData(); + }; +} + +#endif /* __COMMON_VIEW_DATA_H__ */ |