Remove dead platforms

This commit is contained in:
simon.kagstrom 2010-02-07 14:39:43 +00:00
parent 804c7c44c5
commit 5dbee35e1c

View File

@ -27,96 +27,6 @@ class C64;
// Global variables // Global variables
extern char AppDirPath[1024]; // Path of application directory extern char AppDirPath[1024]; // Path of application directory
/*
* BeOS specific stuff
*/
#ifdef __BEOS__
#include <AppKit.h>
#include <StorageKit.h>
// Global variables
extern bool FromShell; // true: Started from shell, SAM can be used
extern BEntry AppDirectory; // Application directory
// Message codes
const uint32 MSG_STARTUP = 'strt'; // Start emulation
const uint32 MSG_PREFS = 'pref'; // Show preferences editor
const uint32 MSG_PREFS_DONE = 'pdon'; // Preferences editor closed
const uint32 MSG_RESET = 'rset'; // Reset C64
const uint32 MSG_NMI = 'nmi '; // Raise NMI
const uint32 MSG_SAM = 'sam '; // Invoke SAM
const uint32 MSG_NEXTDISK = 'ndsk'; // Insert next disk in drive 8
const uint32 MSG_TOGGLE_1541 = '1541'; // Toggle processor-level 1541 emulation
const uint32 MSG_OPEN_SNAPSHOT = 'opss'; // Open snapshot file
const uint32 MSG_SAVE_SNAPSHOT = 'svss'; // Save snapshot file
const uint32 MSG_OPEN_SNAPSHOT_RETURNED = 'opsr'; // Open snapshot file panel returned
const uint32 MSG_SAVE_SNAPSHOT_RETURNED = 'svsr'; // Save snapshot file panel returned
// Application signature
const char APP_SIGNATURE[] = "application/x-vnd.cebix-Frodo";
// Application class
class Frodo : public BApplication {
public:
Frodo();
virtual void ArgvReceived(int32 argc, char **argv);
virtual void RefsReceived(BMessage *message);
virtual void ReadyToRun(void);
virtual void MessageReceived(BMessage *msg);
virtual bool QuitRequested(void);
virtual void AboutRequested(void);
private:
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin);
void load_rom_files();
char prefs_path[1024]; // Pathname of current preferences file
bool prefs_showing; // true: Preferences editor is on screen
BMessenger this_messenger;
BFilePanel *open_panel;
BFilePanel *save_panel;
};
#endif
/*
* AmigaOS specific stuff
*/
#ifdef AMIGA
class Frodo {
public:
Frodo();
void ArgvReceived(int argc, char **argv);
void ReadyToRun(void);
void RunPrefsEditor(void);
private:
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin);
void load_rom_files();
char prefs_path[256]; // Pathname of current preferences file
};
// Global variables
extern Frodo *be_app; // Pointer to Frodo object
#endif
/*
* X specific stuff
*/
#if defined(__unix) || defined(GEKKO)
class Prefs; class Prefs;
class Frodo { class Frodo {
@ -132,82 +42,6 @@ private:
static char prefs_path[256]; // Pathname of current preferences file static char prefs_path[256]; // Pathname of current preferences file
}; };
#endif
/*
* Mac specific stuff
*/
#ifdef __mac__
class Frodo {
public:
Frodo();
void Run(void);
private:
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin);
void load_rom_files();
};
#endif
/*
* WIN32 specific stuff
*/
#ifdef WIN32
class Frodo {
public:
Frodo();
~Frodo();
void ArgvReceived(int argc, char **argv);
void ReadyToRun();
void RunPrefsEditor();
char prefs_path[256]; // Pathname of current preferences file
private:
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin);
void load_rom_files();
};
// Global variables
extern Frodo *TheApp; // Pointer to Frodo object
extern HINSTANCE hInstance;
extern int nCmdShow;
extern HWND hwnd;
// Command line options.
extern BOOL full_screen;
#endif
/*
* RiscOS specific stuff
*/
#ifdef __riscos__
class Frodo
{
public:
Frodo();
~Frodo();
void ReadyToRun(void);
private:
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin);
void load_rom_files();
};
#endif
// Global C64 object // Global C64 object
extern C64 *TheC64; extern C64 *TheC64;