snes9x/gtk/src/gtk_cheat.h

29 lines
621 B
C
Raw Normal View History

2010-09-25 17:46:12 +02:00
#ifndef __GTK_CHEAT_H
#define __GTK_CHEAT_H
#include "gtk_glade_window.h"
#define TYPE_GAME_GENIE 0
#define TYPE_ACTION_REPLAY 1
#define TYPE_GOLDFINGER 2
class Snes9xCheats : public GladeWindow
{
public:
Snes9xCheats (void);
~Snes9xCheats (void);
void show (void);
void add_code (void);
void remove_code (void);
void toggle_code (const gchar *path);
private:
void refresh_tree_view (void);
int get_selected_index (void);
int get_index_from_path (const gchar *path);
GtkListStore *store;
};
#endif /* __GTK_CHEAT_H */