00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00030 #ifndef HILDON_CLOCKAPP_HOME_IMAGE_LOADER_MAIN_H
00031 #define HILDON_CLOCKAPP_HOME_IMAGE_LOADER_MAIN_H
00032
00033 G_BEGIN_DECLS
00034
00035 #define BUF_SIZE 8192
00036 #define HILDON_HOME_IMAGE_FORMAT "png"
00037
00038 #define HILDON_HOME_IMAGE_ALPHA_FULL 255
00039 #define HILDON_HOME_IMAGE_LOADER_IMAGE "new_image"
00040 #define HILDON_HOME_IMAGE_LOADER_SKIN "new_skin"
00041 #define HILDON_HOME_IMAGE_LOADER_TEMP_EXTENSION ".tmp"
00042 #define HILDON_HOME_IMAGE_LOADER_NO_IMAGE "no_image"
00043
00044 #define HILDON_HOME_IMAGE_LOADER_ARGC_AMOUNT 20
00045
00046
00047 #define HILDON_HOME_IMAGE_LOADER_OK 0
00048
00049 #define HILDON_HOME_IMAGE_LOADER_ERROR_MEMORY 1
00050 #define HILDON_HOME_IMAGE_LOADER_ERROR_CONNECTIVITY 2
00051 #define HILDON_HOME_IMAGE_LOADER_ERROR_FILE_CORRUPT 3
00052 #define HILDON_HOME_IMAGE_LOADER_ERROR_FILE_UNREADABLE 4
00053 #define HILDON_HOME_IMAGE_LOADER_ERROR_MMC_OPEN 5
00054 #define HILDON_HOME_IMAGE_LOADER_ERROR_SYSTEM_RESOURCE 6
00055 #define HILDON_HOME_IMAGE_LOADER_ERROR_FLASH_FULL 7
00056
00057 #define HILDON_HOME_GCONF_MMC_COVER_OPEN "/system/osso/af/mmc-cover-open"
00058 #define HILDON_HOME_ENV_MMC_MOUNTPOINT "MMC_MOUNTPOINT"
00059 #define HILDON_HOME_URISAVE_FILENAME_FORMAT "%s\n"
00060 #define HILDON_HOME_URI_PREFIX "file://"
00061
00062 #define HILDON_HOME_TITLEBAR_HEIGHT_LOADER 60
00063 #define HILDON_HOME_SIDEBAR_HEIGHT_LOADER 420
00064 #define HILDON_HOME_SIDEBAR_WIDTH_LOADER 10
00065
00066 enum modes {
00067 CENTERED = 0,
00068 SCALED,
00069 STRETCHED,
00070 TILED
00071 };
00072
00073
00074 G_END_DECLS
00075
00076 #endif