2 * Copyright (c) 2011 - 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.
18 #include <appcore-common.h>
19 #include <appcore-efl.h>
21 #include <Elementary.h>
23 #include "app_extension.h"
29 #define LOG_TAG "CAPI_APPFW_APPLICATION"
31 void *app_get_preinitialized_window(const char *win_name)
35 win = elm_win_precreated_object_get();
39 appcore_set_preinit_window_name(win_name);
40 elm_win_precreated_object_set(NULL);
45 void *app_get_preinitialized_background(void)
49 background = elm_bg_precreated_object_get();
50 if (background == NULL)
53 elm_bg_precreated_object_set(NULL);
58 void *app_get_preinitialized_conformant(void)
62 conformant = elm_conformant_precreated_object_get();
63 if (conformant == NULL)
66 elm_conformant_precreated_object_set(NULL);