state.h

来自「藍芽電話簿範本」· C头文件 代码 · 共 45 行

H
45
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Limited 2006-2009
Part of BlueLab 4.1-Release

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,
	/* Application has started a connection */
	AppStateConnecting,
	/* Application has started a connection */
	AppStateConnected,
	/* Remote Client is downloading the vCard List */
	AppStatePullvCardList,
	/* Remote Client is downloading the vCard Entry */
	AppStatePullvCardEntry,
	/* Remote Client is downloading a complete phonebook */
	AppStatePullPhonebook,
	/* Remote Client is requesting the size of a phonebook */
	AppStatePullPhonebookSize,
	
	AppStateEndOfList
} app_states;


void setState(app_states *pState, app_states pNewState);

#endif /* APPLICATION_STATE_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?