tizen 2.3 release
[apps/home/b2-clocksetting.git] / include / util.h
index 2bd45b0..9ab6c59 100755 (executable)
@@ -1,19 +1,13 @@
 /*
- * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2010 Samsung Electronics, Inc.
+ * All rights reserved.
  *
- * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
- *
- * 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.
- *
-*/
+ * This software is a confidential and proprietary information
+ * of Samsung Electronics, Inc. ("Confidential Information").  You
+ * shall not disclose such Confidential Information and shall use
+ * it only in accordance with the terms of the license agreement
+ * you entered into with Samsung Electronics.
+ */
 #ifndef _UTIL_H_
 #define _UTIL_H_
 
 #define IMG_DIR                "/usr/apps/org.tizen.clocksetting/data/images/"
 #define EDJE_PATH      "/usr/apps/org.tizen.clocksetting/res/edje/clocksetting.edj"
 
+#ifndef FEATURE_SETTING_CHANGEABLE
+#define FEATURE_SETTING_CHANGEABLE
+#endif
+
+#ifdef FEATURE_SETTING_CHANGEABLE
+#define        COLOR_INFO_TABLE "/usr/apps/org.tizen.clocksetting/shared/res/tables/org.tizen.clocksetting_ChangeableColorInfo.xml"
+#endif
+
 #define TRUE   1
 #define FALSE  0
 
@@ -120,6 +122,10 @@ typedef struct _appdata
        int MENU_TYPE;
        
        Evas_Object *indicator_layout;
+
+#ifdef FEATURE_SETTING_CHANGEABLE
+       Ea_Theme_Color_Table *color_table;
+#endif
 } appdata;
 
 typedef struct _Item_Data