sieelf/sieGet/config_data.c
2008-05-27 10:11:46 +00:00

43 lines
1.5 KiB
C

// ÊÎÍÔÈÃ!!!
#include "..\inc\cfg_items.h"
#include "include.h"
#ifdef NEWSGOLD
#define DEFAULT_DISK "4"
#define MAX_VOLUME 6
#else
#define DEFAULT_DISK "0"
#define MAX_VOLUME 4
#endif
/* Paths setup */
__root const CFG_HDR cfghdr0 = {CFG_LEVEL, "Paths setup", 1, 0};
__root const CFG_HDR cfghdr0_1 = {CFG_STR_UTF8, "SieGet folder", 3, 127};
__root const char CFG_SIEGET_FOLDER[128] = DEFAULT_DISK ":\\ZBin\\SieGet\\";
__root const CFG_HDR cfghdr0_2 = {CFG_STR_UTF8, "Downloads folder", 3, 127};
__root const char CFG_DOWNLOADS_FOLDER[128] = DEFAULT_DISK ":\\ZBin\\SieGet\\Downloads\\";
__root const CFG_HDR cfghdr0_3 = {CFG_LEVEL, "", 0, 0};
/* Notify setup */
__root const CFG_HDR cfghdr1 = {CFG_LEVEL, "Notify setup", 1, 0};
__root const CFG_HDR cfghdr1_1 = {CFG_UINT, "Sound volume", 0, MAX_VOLUME};
__root const unsigned int CFG_SOUNDS_VOLUME = MAX_VOLUME;
__root const CFG_HDR cfghdr1_2 = {CFG_UINT, "Vibra power", 0, 100};
__root const unsigned int CFG_VIBRA_POWER = 10;
__root const CFG_HDR cfghdr1_3 = {CFG_LEVEL, "", 0, 0};
__root const CFG_HDR cfghdr2 = {CFG_COORDINATES, "IDLE icon position", 0, 0};
__root const unsigned int CFG_IDLE_ICON_X = 0;
__root const unsigned int CFG_IDLE_ICON_Y = 35;
__root const CFG_HDR cfghdr3 = {CFG_CHECKBOX, "Save logs to files", 0, 3};
__root const int CFG_LOG_TO_FILE = 1;
__root const CFG_HDR cfghdr4 = {CFG_UINT, "Download buffer size (in bytes)", 1024, 16384};
__root const unsigned int CFG_DOWNLOAD_BUFFER_SIZE = 4096;