GSLDateiV.h 835 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef GSLDateiV_H
  2. #define GSLDateiV_H
  3. #include <Text.h>
  4. #include "GSLSoundV.h"
  5. namespace GSL
  6. {
  7. class GSLDateiV : public virtual Framework::ReferenceCounter
  8. {
  9. public:
  10. virtual ~GSLDateiV()
  11. {}
  12. virtual void setDatei(Framework::Text* txt) = 0;
  13. virtual void setDatei(const 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(const char* name) = 0;
  20. // Speichern
  21. virtual bool speicherSound(GSLSoundV* zSound, Framework::Text* name) = 0;
  22. virtual bool speicherSound(GSLSoundV* zSound, const char* name) = 0;
  23. // Löschen
  24. virtual bool removeSound(Framework::Text* name) = 0;
  25. virtual bool removeSound(const char* name) = 0;
  26. };
  27. }
  28. #endif