win32cmd.h

来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 49 行

H
49
字号
/**
 * @file Win32Cmd.h
 * @brief Win32 commandline base
 * @author Christopher Han <xiphux@gmail.com>
 *
 * Win32 commandline parser class definition
 * Copyright (C) 2005.  Licensed under the terms of the
 * GNU GPL, v2 or later
 */
#ifndef WIN32CMD_H
#define WIN32CMD_H

#include "Platform/BaseCmd.h"

/**
 * @brief Win32 command class
 *
 * Derived from the abstract BaseCmd
 */
class Win32Cmd: public BaseCmd
{
public:
	/**
	 * @brief Constructor
	 * @param c argument count
	 * @param v array of c string arguments
	 */
	Win32Cmd(int c, char **v);

	/**
	 * @brief parse
	 */
	virtual void parse();

	/**
	 * @brief usage
	 * @param program name of the program
	 * @param version version of this program
	 */
	virtual void usage(std::string program, std::string version);

	/**
	 * @brief Destructor
	 */
	~Win32Cmd();
};

#endif /* WIN32CMD_H */

⌨️ 快捷键说明

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