GSLDateiV.h 971 B

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