/* * Copyright 2012 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.tizenopensource.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 __setting_theme_efl_H__ #define __setting_theme_efl_H__ #include #include #define PKGNAME "ug-setting-theme-efl" #define _EDJ(o) elm_layout_edje_get(o) #define _(s) dgettext(PKGNAME, s) #define dgettext_noop(s) (s) #define N_(s) dgettext_noop(s) #define FREE(arg) {free(arg); arg = NULL;} #define IDLE_IMG_PATH "/opt/etc/idle_image" #define MO_FILE_PATH "/opt/ug/res/locale" #define POPUP_ALERT_TIMOUT_DURATION 2 #define EDJ_PATH "/opt/ug/res/edje/ug-setting-theme-efl" #define SETTING_THEME_EDJ EDJ_PATH"/setting-theme-efl.edj" #define IMG_DIR "/opt/ug/res/images/ug-setting-theme-efl" // platform theme definition #define DEFAULT_THEME_ICON_PATH "/usr/share/icons" #define DEFAULT_THEME_FOLDER_PATH "/usr/share/elementary/themes" #define DEFAULT_THEME_ICON_NAME "default" #define DEFAULT_THEME_SCREEN_IMAGE_HOME_PATH "/opt/media/Images and videos/Wallpapers/Home_default.png" #define DEFAULT_THEME_SCREEN_IMAGE_LOCK_PATH "/opt/media/Images and videos/Wallpapers/Home_default.png" // Downloadable theme definition #define DOWNLOAD_THEME_FOLDER_PATH "/opt/share/theme" #define DOWNLOAD_THEME_INDEX_FILE_NAME "index.theme" #define DOWNLOAD_THEME_EFL_FOLDER_NAME "elementary" #define DOWNLOAD_THEME_SCREEN_IMAGE_FOLDER_NAME "screenimages" #define DOWNLOAD_THEME_ICON_THEME_KEYWORD "IconTheme" #define DOWNLOAD_THEME_KEY_SOUND_THEME_KEYWORD "KeySoundTheme" #define DOWNLOAD_THEME_EFL_THEME_KEYWORD "EFLTheme" #define DOWNLOAD_THEME_GTK_THEME_KEYWORD "GTKTheme" #define DOWNLOAD_THEME_SCREEN_IMG_THEME_KEYWORD "ScreenImageTheme" #define DOWNLOAD_THEME_FONT_THEME_KEYWORD "FontTheme" #define DOWNLOAD_THEME_VIBRATION_THEME_KEYWORD "VibrationTheme" #define DOWNLOAD_THEME_BOOT_ANIMATOR_THEME_KEYWORD "BootAnimationTheme" // #define VCONKEY_SETTING_THEME_ICON_PATH "db/setting/theme" #define SETTING_THEME_SELECTED_THEME "db/setting/selected_theme" #define SETTING_THEME_SCREEN_IMAGE_HOME_FILE_NAME "home.png" #define SETTING_THEME_SCREEN_IMAGE_LOCK_FILE_NAME "lock.png" #define SETTING_THEME_IS_THEME_CHANGED "memory/mobile_hotspot/skin_changed" #define SETTING_THEME_NAME_MAX_LEN 255 #endif /* __setting_theme_efl_H__ */