GSLDateiV.h 789 B

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