hildon-home-image-loader.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of maemo-af-desktop
00003  *
00004  * Copyright (C) 2005 Nokia Corporation.
00005  *
00006  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * as published by the Free Software Foundation; either version 2.1 of
00011  * the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00021  * 02110-1301 USA
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

Generated on Fri Jun 9 16:23:03 2006 for maemo-af-desktop-documentation by  doxygen 1.4.6