00001 00002 //------------------------------------------------------------------------------------------------- 00003 // 00004 // Header Name: ZDef.h 00005 // 00006 // General Description: Platform-level definitions. 00007 // 00008 //------------------------------------------------------------------------------------------------- 00009 // 00010 // Motorola Confidential Proprietary 00011 // Template ID and version: TMP_LFC_50068 Version 1.2 00012 // (c) Copyright Motorola 2004, All Rights Reserved 00013 // 00014 //------------------------------------------------------------------------------------------------- 00015 00016 #ifndef Z_DEFS_H 00017 #define Z_DEFS_H 00018 00019 #ifndef __cplusplus 00020 #error "This is a C++ header file;it requires C++ to compile." 00021 #endif 00022 00023 #include <qstringlist.h> 00024 #include <qcstring.h> 00025 #include <qwidget.h> 00026 #include <qrect.h> 00027 #include <qsize.h> 00028 #include <qpopupmenu.h> 00029 #include <quuid.h> 00030 #include <qmap.h> 00031 #include <qstring.h> 00032 00033 /** 00034 * Define platform level Macros of application setup, and global type definitions. 00035 * Application setup module defines Macros are related to AP flex, Theme, 00036 * TouchScreen, Language, handwriting, configuration paths 00037 * and default locale stuffs like region. 00038 */ 00039 00040 /** 00041 * EZX date range 00042 */ 00043 #define EZX_YEAR_MAX 2069 00044 #define EZX_YEAR_MIN 1901 00045 00046 /** 00047 * EZX server application's channel name 00048 */ 00049 #define EZXQTSERVER_CHANNEL "EZX/QtServer" 00050 00051 /** 00052 * EZX input widget server's channel name 00053 */ 00054 #define IMSERVCHANNEL_NAME "EZX/IMServer" 00055 00056 /** 00057 * EZX system channel name 00058 */ 00059 #define SYSTEM_CHANNEL "EZX/System" 00060 00061 /** 00062 * EZX application channel name prefix 00063 */ 00064 #define APP_CHANNEL_PREF "EZX/Application/" 00065 00066 namespace ZGlobal 00067 { 00068 /** 00069 * @enum TouchSoundType_T enumerates all possible touch screen sound configurations. 00070 * One of these enumeration value is valid for the software system in all time. 00071 */ 00072 enum TouchSoundType_T 00073 { 00074 CLICK = 0,///<Play a quick sound at the moment of touching screen, analog to click. 00075 TONE,///<Play a slip of sound when screen touched, counterpart to @@see CLICK 00076 SILENT,///<No sound played when screen touched. 00077 THEMED///<The sound is theme configurated. 00078 }; 00079 }; 00080 00081 #endif //Z_DEFS_H