2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 //==========================================================================
12 * @file CicoGKeyFileConfig
14 * @brief This file is definition of CicoGKeyFileConfig class
16 //==========================================================================
17 #ifndef __CICO_G_KEY_FILE_CONFIG_H__
18 #define __CICO_G_KEY_FILE_CONFIG_H__
22 //==========================================================================
24 //==========================================================================
25 #define ICO_HOMESCREEN_CONFIG_FILE "homescreen.conf"
26 #define ICO_ONSCREEN_CONFIG_FILE "onscreen.conf"
27 #define ICO_STATUSBAR_CONFIG_FILE "statusbar.conf"
29 #define ICO_TEMP_BUF_SIZE (256)
31 //--------------------------------------------------------------------------
35 //--------------------------------------------------------------------------
36 class CicoGKeyFileConfig
43 ~CicoGKeyFileConfig();
46 bool Initialize(const char *conf, const char *pkgname = NULL);
49 int ConfigGetInteger(const char *group_name,
54 const char* ConfigGetString(const char *group_name,
56 const char *default_value);
57 const char* ConfigGetFilePath(const char *group_name,
61 const char *default_path);
64 // assignment operator
65 CicoGKeyFileConfig operator=(const CicoGKeyFileConfig&);
68 CicoGKeyFileConfig(const CicoGKeyFileConfig&);
73 #endif // __CICO_G_KEY_FILE_CONFIG_H__
74 // vim: set expandtab ts=4 sw=4: