ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
cmdtable.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005 by Fred Klaus *
3  * frednet@web.de *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 #ifndef CPC_CMDTABLE_H
21 #define CPC_CMDTABLE_H
22 
23 #include "cmdtabledef.h"
24 #include "fdcconst.h"
25 
26 namespace cpcx
27 {
29  class CmdTable final
30  {
31  public:
34 
35  CmdTableDef & get(int num) {return entry[num];}
36 
37  private:
39  };
40 } // namespace cpcx
41 
42 #endif // CPC_CMDTABLE_H
Comand table definitions.
Definition: cmdtabledef.h:30
CmdTable() ROLAND_DEFAULT~CmdTable() ROLAND_DEFAULT CmdTableDef &get(int num)
Definition: cmdtable.h:32
Namespace for all CPC components.
Definition: colours.cpp:22
#define MAX_CMD_COUNT
Definition: fdcconst.h:69
Command table.
Definition: cmdtable.h:29
CmdTableDef entry[15]
Definition: cmdtable.h:38
#define ROLAND_DEFAULT
Definition: compspec.h:46