GSLDateiV.h 1006 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef GSLDateiV_H
  2. #define GSLDateiV_H
  3. #include <Text.h>
  4. #include "GSLSoundV.h"
  5. namespace GSL
  6. {
  7. class GSLDateiV
  8. {
  9. public:
  10. virtual ~GSLDateiV()
  11. {}
  12. virtual void setDatei( Framework::Text *txt ) = 0;
  13. virtual void setDatei( char *txt ) = 0;
  14. virtual bool leseDaten() = 0;
  15. virtual int getSoundAnzahl() = 0;
  16. virtual Framework::Text *getSoundName( int num ) = 0;
  17. // Laden
  18. virtual GSLSoundV *getSound( Framework::Text *name ) = 0;
  19. virtual GSLSoundV *getSound( char *name ) = 0;
  20. // Speichern
  21. virtual bool speicherSound( GSLSoundV *zSound, Framework::Text *name ) = 0;
  22. virtual bool speicherSound( GSLSoundV *zSound, char *name ) = 0;
  23. // Löschen
  24. virtual bool removeSound( Framework::Text *name ) = 0;
  25. virtual bool removeSound( char *name ) = 0;
  26. // Reference Counting
  27. virtual GSLDateiV *getThis() = 0;
  28. virtual GSLDateiV *release() = 0;
  29. };
  30. }
  31. #endif