?? hosthf_private.h
字號:
#ifndef _HOSTHF_PRIVATE_H
#define _HOSTHF_PRIVATE_H
#include <csrtypes.h>
#include "hf_msg.h"
#include <hshf_lib.h>
#include <panic.h>
#include <stdlib.h>
/* Set the hands free app version number */
#define HF_VERSION 1
/* Macros used when sending messages to an external GUI */
#define MAKE_GUI_MSG_WITH_LEN(TYPE,LEN) HF_TO_GUI_MSG_T *msg = (HF_TO_GUI_MSG_T *)PanicNull(malloc(sizeof(TYPE##_T)+2+(LEN))); msg->length = sizeof(TYPE##_T)+2+(LEN); msg->type = TYPE;
#define MAKE_GUI_MSG(TYPE) MAKE_GUI_MSG_WITH_LEN(TYPE, 0)
/* hosthf_main.c - send a message over host comms to the GUI */
void hostHfPutGuiMsg(void *msg);
/* hosthf_send.c - dial the supplied number request */
void hostHfDialNumberReq(const DIAL_NUMBER_REQ_T *req);
/* hosthf_send.c - dial the supplied memory location request */
void hostHfDialMemoryReq(const DIAL_MEMORY_REQ_T *req);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -