typedef struct 
	{
	LocalID		appLocalID;					// TSut:temp
	Boolean		capsLock;					// FTgl:temp
	Boolean		numLock;					// FTgl:temp
	UInt16		tempShift;					// FTgl:temp
	Boolean		autoShifted;				// FTgl:temp
	UInt32 		OnF:1;						// TSut
	UInt32 		OffF:1;						// TSut
	UInt32 		AutoEnbleAfterResetF:1;		// TSut
	UInt32		numButtons:8;				// WbMn:temp
	UInt32		FEPModeControlF:1;			// FTgl
	UInt32 		AddNichiEiBtnF:1;			// Ftgl
	UInt32 		AddHiraKataBtnF:1;			// FTgl
	UInt32 		AddHenkanBtnF:1;			// FTgl
	UInt32 		UnUsed:17;					// UnUsed
	UInt8		BtnInsPosition;				// WbMn
	} TSuitePreferenceType;

#define IsOn		1
#define IsOff		0
#define Activate	1
#define Deactivate	0

#define appFileCreator			'FTgC'
#define appVersionNum			0x04
#define appPrefID				0x04
#define appPrefVersionNum		0x04

#define FEPBtnDbName			"FEPTglCS.FEPBtn.PalmHi"

#define ftr_appStatus			0x00	//Ftr

#define FTglPriority			0x04	// sysNotifyMenuCmdBarOpenEvent

#define Btn_NichiEiBitmapFamily		14997
#define Btn_HiraKataBitmapFamily	14998
#define Btn_HenkanBitmapFamily		14999

#define Swap16(n) (((((UInt16)n) << 8) & 0xFF00) | ((((UInt16)n) >> 8) & 0x00FF))

#pragma mark ----------

void WbMtCmdBarKeyDownResDraw (Char **nameP, UInt8 numButtons);		// used in FTgl

Err FTglCmdBarOpenHandle (SysNotifyParamType *notifyParamsP);
Err FTglCmdBarOpenedHandle (SysNotifyParamType *notifyParamsP);
Err FTglCmdBarKeyDownHandle (SysNotifyParamType *notifyParamsP);
