00001
00010 #if !defined(_APPCONFIG_H)
00011 #define _APPCONFIG_H
00012
00013 #include <PalmTypes.h>
00014 #include <sections.h>
00015
00022 typedef enum ButtonEvent {
00023 BeIgnore = 0,
00024 BeUp,
00025 BeDown,
00026 BeLeft,
00027 BeRight,
00028 BePopup,
00029 BeMap,
00030 BeBudget,
00031 BePopulation,
00032 BePassthrough,
00033 #ifdef SONY_CLIE
00034 BeJogUp,
00035 BeJogDown,
00036 BeJogRelease,
00037 #endif
00038 BeEnd
00039 } ButtonEvent;
00040
00042 typedef enum buttonKeys {
00043 BkCalendar = 0,
00044 BkAddress,
00045 BkHardUp,
00046 BkHardDown,
00047 BkToDo,
00048 BkMemo,
00049 BkCalc,
00050 BkFind,
00051 #ifdef SONY_CLIE
00052 BkJogUp,
00053 BkJogDown,
00054 BkJogRelease,
00055 #endif
00056 BkEnd
00057 } ButtonKey;
00058
00060 typedef struct _PalmAppConfig_01 {
00061 ButtonEvent keyOptions[BkEnd];
00062 } PalmAppConfig_01_t;
00063
00065 typedef PalmAppConfig_01_t PlatformAppConfig;
00066
00067 #ifdef SONY_CLIE
00068 #define SONYEV , BeJogUp, BeJogDown, BeJogRelease
00069 #else
00070 #define SONYEV
00071 #endif
00072
00073 #define DEFAULT_APPCONFIG { \
00074 { BePassthrough, BeLeft, BeUp, BeDown, BeRight, BePassthrough, \
00075 BePopup, BeMap SONYEV } \
00076 }
00077
00078 #endif