# allegro_s.h

Go to the documentation of this file.

    00001 /* $Id: allegro_s.h 14631 2008-11-25 21:09:00Z rubidium $ */
    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   /* virtual */ const char *Start(const char * const *param);
    00013
    00014   /* virtual */ void Stop();
    00015
    00016   /* virtual */ void MainLoop();
    00017 };
    00018
    00019 class FSoundDriver_Allegro: public SoundDriverFactory<FSoundDriver_Allegro> {
    00020 public:
    00021   static const int priority = 5;
    00022   /* virtual */ const char *GetName() { return "allegro"; }
    00023   /* virtual */ const char *GetDescription() { return "Allegro Sound Driver"; }
    00024   /* virtual */ Driver *CreateInstance() { return new SoundDriver_Allegro(); }
    00025 };
    00026
    00027 #endif /* SOUND_ALLEGRO_H */