2 * Copyright (c) 2015 - 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __TIZEN_APPFW_WIDGET_APP_INTERNAL_H__
18 #define __TIZEN_APPFW_WIDGET_APP_INTERNAL_H__
20 #include <widget_app.h>
27 * For in-house applications
44 } widget_obj_event_info_s;
46 typedef int (*widget_instance_text_signal_cb)(widget_context_h context,
47 const char *signal_name, const char *source,
48 widget_obj_event_info_s *info, void *user_data);
50 typedef struct _widget_obj_private_ops {
51 widget_instance_text_signal_cb text_signal;
52 } widget_obj_private_ops_s;
54 typedef struct _widget_class_factory_full widget_class_factory_full_s;
55 typedef const widget_class_factory_full_s *(*widget_class_factory_override_text_signal)(widget_instance_text_signal_cb op);
56 typedef widget_class_h (*_widget_class_factory_operation_make)(widget_instance_lifecycle_callback_s callback);
58 struct _widget_class_factory_full {
59 widget_class_factory_override_text_signal override_text_signal;
62 const widget_class_factory_full_s *widget_app_get_class_factory(void);
68 #endif /* __TIZEN_APPFW_WIDGET_APP_INTERNAL_H__ */