2002-11-17 08:20:34 +00:00
|
|
|
#ifndef ARCH_H
|
|
|
|
|
#define ARCH_H
|
|
|
|
|
|
|
|
|
|
/* Include this file if you need to create an instance of a driver object. */
|
2002-12-16 02:09:08 +00:00
|
|
|
class ErrorDialog;
|
2002-11-17 08:20:34 +00:00
|
|
|
class LoadingWindow;
|
2002-12-13 08:33:25 +00:00
|
|
|
class RageSoundDriver;
|
2003-01-24 23:09:31 +00:00
|
|
|
class ArchHooks;
|
2003-02-16 02:25:22 +00:00
|
|
|
class InputHandler;
|
2002-11-17 08:20:34 +00:00
|
|
|
|
2002-12-16 02:09:08 +00:00
|
|
|
ErrorDialog *MakeErrorDialog();
|
2002-11-17 08:20:34 +00:00
|
|
|
LoadingWindow *MakeLoadingWindow();
|
2003-01-24 23:09:31 +00:00
|
|
|
ArchHooks *MakeArchHooks();
|
2002-12-13 08:33:25 +00:00
|
|
|
|
2003-02-16 02:25:22 +00:00
|
|
|
void MakeInputHandlers(vector<InputHandler *> &Add);
|
|
|
|
|
RageSoundDriver *MakeRageSoundDriver(CString drivers);
|
|
|
|
|
|
2002-12-13 08:33:25 +00:00
|
|
|
/* Define the default list of sound drivers for each arch. */
|
2003-02-18 19:45:04 +00:00
|
|
|
#if defined(LINUX)
|
2003-02-23 09:03:10 +00:00
|
|
|
#define DEFAULT_SOUND_DRIVER_LIST "ALSA9,Null"
|
2003-02-18 19:45:04 +00:00
|
|
|
#elif defined(WIN32)
|
2003-01-19 21:51:46 +00:00
|
|
|
#define DEFAULT_SOUND_DRIVER_LIST "DirectSound,DirectSound-sw,WaveOut"
|
2003-02-14 18:52:02 +00:00
|
|
|
#else
|
|
|
|
|
#define DEFAULT_SOUND_DRIVER_LIST "Null"
|
2002-12-13 08:33:25 +00:00
|
|
|
#endif
|
2002-11-17 08:20:34 +00:00
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
2003-01-24 23:09:31 +00:00
|
|
|
* Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved.
|
2002-11-17 08:20:34 +00:00
|
|
|
*
|
|
|
|
|
* Glenn Maynard
|
|
|
|
|
*/
|