dc550_phonesm_contrast.h

来自「一款经典的数字电话设计资料」· C头文件 代码 · 共 51 行

H
51
字号
/*****************************************************************************/
/*  CONFIDENTIAL                                                             */
/*  Sigpro Copyright 2003, All rights reserved                               */
/*****************************************************************************/
/*  CLIENT:  Telematrix                                                      */
/*  PROJECT: DC550 Digital Centrex Phone                                     */
/*  FILE:    dc550_phonesm_contrast.h                                        */
/*****************************************************************************/
/*  This is the header file for dc550_phonesm_contrast.c.                    */
/*****************************************************************************/

#ifndef __DC550_PHONESM_CONTRAST_HEADER__
#define __DC550_PHONESM_CONTRAST_HEADER__

#include  "dc550_local.h"
#include  "dc550_phonesm.h"


/******************************************************************************
 *  ENUMS AND CONSTANTS
 *****************************************************************************/
#define PHONESM_CONTRAST_TIMEOUT     30


/******************************************************************************
 *  FUNCTION PROTOTYPES
 *****************************************************************************/
// External interface functions
void phonesm_contrast_init(void);
void phonesm_contrast_state_enter(void);
BOOL phonesm_contrast_exec_hookswitch(BOOL updown);
BOOL phonesm_contrast_exec_keypress(unsigned int key, BOOL updown);
BOOL phonesm_contrast_exec_modemcommand(DC550MDCMessage command);
BOOL phonesm_contrast_exec_periodic(BOOL firstline, BOOL secondline);

// Internal utility functions
void phonesm_contrast_state_exit(void);

#endif


#ifndef __DC550_PHONESM_CONTRAST_EXTERN__
#define __DC550_PHONESM_CONTRAST_EXTERN__

/******************************************************************************
 *  GLOBAL VARIABLES
 *****************************************************************************/
extern PHONESM_STATE_E phonesm_contrast_exitstate;


#endif

⌨️ 快捷键说明

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