📄 state.h
字号:
/****************************************************************************
DESCRIPTION
Interface for state management functionality
FILE
state.h
*/
#ifndef APPLICATION_STATE_H
#define APPLICATION_STATE_H
typedef enum
{
/* Application has not been initialised */
AppStateUninitialised,
/* Connection Library has been initialised */
AppStateConInited,
/* Application has completed initialisation and is idle */
AppStateAppIdle,
/* Attempting to connect to the PBAP Server */
AppStateAppConnecting,
/* Connected to the PBAP Server */
AppStateAppConnected,
/* Disconnecting from the PBAP Server */
AppStateAppDisconnecting,
/* Application is attempting to set the current phonebook */
AppStateSetPhonebook,
/* Application is getting the vCard List */
AppStateGetVCardList,
/* Application is getting the vCard Entry */
AppStateGetVCardEntry,
/* Application is downloading the phonebook */
AppStateDownloadPhonebook,
AppStateEndOfList
} app_states;
void setState(app_states *pState, app_states pNewState);
#endif /* APPLICATION_STATE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -