summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/cheat.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-11-17 01:44:03 +1100
committer Vas Crabb <vas@vastheman.com>2016-11-17 01:44:03 +1100
commit2354a42010b3a024f3c767105f95d0593641c4f1 (patch)
tree5c50e6db5f444ca4961c391b3efa983f3faabe50 /src/frontend/mame/cheat.h
parent31e0041051aaf5e14d2ec1be99bf26f4bdae743a (diff)
Turn xmlfile API into something that looks like C++
It's still a bit quirky but it's far better encapsulated before, and it plays nice with const (nw)
Diffstat (limited to 'src/frontend/mame/cheat.h')
-rw-r--r--src/frontend/mame/cheat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/mame/cheat.h b/src/frontend/mame/cheat.h
index febe1f85cfd..aa08106b15a 100644
--- a/src/frontend/mame/cheat.h
+++ b/src/frontend/mame/cheat.h
@@ -76,7 +76,7 @@ class cheat_parameter
{
public:
// construction/destruction
- cheat_parameter(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node &paramnode);
+ cheat_parameter(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node const &paramnode);
// queries
const char *text();
@@ -129,7 +129,7 @@ class cheat_script
{
public:
// construction/destruction
- cheat_script(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node &scriptnode);
+ cheat_script(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node const &scriptnode);
// getters
script_state state() const { return m_state; }
@@ -144,7 +144,7 @@ private:
{
public:
// construction/destruction
- script_entry(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node &entrynode, bool isaction);
+ script_entry(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node const &entrynode, bool isaction);
// actions
void execute(cheat_manager &manager, uint64_t &argindex);
@@ -156,7 +156,7 @@ private:
{
public:
// construction/destruction
- output_argument(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node &argnode);
+ output_argument(cheat_manager &manager, symbol_table &symbols, const char *filename, xml_data_node const &argnode);
// getters
int count() const { return m_count; }
@@ -199,7 +199,7 @@ class cheat_entry
{
public:
// construction/destruction
- cheat_entry(cheat_manager &manager, symbol_table &globaltable, const char *filename, xml_data_node &cheatnode);
+ cheat_entry(cheat_manager &manager, symbol_table &globaltable, const char *filename, xml_data_node const &cheatnode);
~cheat_entry();
// getters