📄 command.h
字号:
/* -*- C++ -*- */
// Command.h,v 1.2 2004/01/08 20:20:43 shuston Exp
#ifndef COMMAND_H
#define COMMAND_H
#include "ace/SString.h"
#include "ace/Message_Block.h"
// Listing 01 code/ch18
class Command : public ACE_Data_Block
{
public:
// Result Values
enum {
RESULT_PASS = 1,
RESULT_SUCCESS = 0,
RESULT_FAILURE = -1
};
// Commands
enum {
CMD_UNKNOWN = -1,
CMD_ANSWER_CALL = 10,
CMD_RETRIEVE_CALLER_ID,
CMD_PLAY_MESSAGE,
CMD_RECORD_MESSAGE
} commands;
int flags_;
int command_;
void *extra_data_;
int numeric_result_;
ACE_CString result_;
};
// Listing 01
#endif /* COMMAND_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -