📄 cms_wapmsg.h
字号:
/******************************************************************************
C H E A D E R F I L E
(c) Copyright MobileSoft Technology (NanJing) Co.,LTD. 2001-2002
ALL RIGHTS RESERVED
*******************************************************************************
Project Name: WAP STACK Ver 1.20
File Name : Cms_WAPMsg.h
Description : To Implement Browser application
Last Modify : 06/22/2002
Written By : Mobilesoft Technology
******************************************************************************/
#ifndef _CMS_WAPMSG_H
#define _CMS_WAPMSG_H
/**************************************************************/
#include "Cms_WAPTypes.h"
#include "Cms_WAPOctStr.h"
/**************************************************************/
enum msg_type
{
NOUSE2=-1
#define INTEGER(name)
#define OCTSTR(name)
#define MSG_1(type, stmt) ,type
#include "Cms_WAPMsgDecl.h"
};
#define INTEGER(name) CMS_S64 name
#define OCTSTR(name) Octstr *name
#define MSG_1(type, stmt) struct type stmt ;
#include "Cms_WAPMsgDecl.h"
typedef struct
{
enum msg_type type;
#define INTEGER(name)
#define OCTSTR(name)
#define MSG_1(type, stmt) struct type type;
#include "Cms_WAPMsgDecl.h"
} Msg;
/*
* Create a new, empty Msg object. Return NULL for failure, otherwise a
* pointer to the object.
*/
Msg *msg_create(enum msg_type type);
/*
* Return type of the message
*/
enum msg_type msg_type(Msg *msg);
/*
* Destroy an Msg object. All fields are also destroyed.
*/
CMS_VOID msg_destroy(Msg *msg);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -