2008-08-07 14:26:07 +02:00
|
|
|
/*
|
|
|
|
* history.h
|
|
|
|
* genplusgx-mdisibio
|
|
|
|
*
|
|
|
|
* Created by Martin Disibio on 6/17/08.
|
|
|
|
*
|
|
|
|
*/
|
2008-12-10 19:16:30 +01:00
|
|
|
#ifndef _HISTORY_H
|
|
|
|
#define _HISTORY_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
#include "filesel.h"
|
|
|
|
|
|
|
|
#define NUM_HISTORY_ENTRIES (10)
|
|
|
|
|
|
|
|
/****************************************************************************
|
2008-08-07 14:26:07 +02:00
|
|
|
* ROM Play History
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
char filepath[MAXJOLIET];
|
|
|
|
char filename[MAXJOLIET];
|
|
|
|
} t_history_entry;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2008-12-10 19:16:30 +01:00
|
|
|
t_history_entry entries[NUM_HISTORY_ENTRIES];
|
2008-08-07 14:26:07 +02:00
|
|
|
} t_history;
|
|
|
|
|
|
|
|
extern t_history history;
|
|
|
|
extern void history_add_file(char *filepath, char *filename);
|
|
|
|
extern void history_load();
|
|
|
|
extern void set_history_defaults();
|
|
|
|
|
2008-12-10 19:16:30 +01:00
|
|
|
#endif
|