allegro_s.h
Go to the documentation of this file.00001
00002
00005 #ifndef SOUND_ALLEGRO_H
00006 #define SOUND_ALLEGRO_H
00007
00008 #include "sound_driver.hpp"
00009
00010 class SoundDriver_Allegro: public SoundDriver {
00011 public:
00012 const char *Start(const char * const *param);
00013
00014 void Stop();
00015
00016 void MainLoop();
00017 };
00018
00019 class FSoundDriver_Allegro: public SoundDriverFactory<FSoundDriver_Allegro> {
00020 public:
00021 static const int priority = 4;
00022 const char *GetName() { return "allegro"; }
00023 const char *GetDescription() { return "Allegro Sound Driver"; }
00024 Driver *CreateInstance() { return new SoundDriver_Allegro(); }
00025 };
00026
00027 #endif