KSGSBild.h 893 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef KSGSBild_H
  2. #define KSGSBild_H
  3. #include "../Befehl/KSGSKlasse.h"
  4. #include <Bild.h>
  5. namespace KSGScript
  6. {
  7. class KSGSBildKlasse : public KSGSKlasseInstanz
  8. {
  9. private:
  10. Bild *val;
  11. public:
  12. // Konstruktor
  13. __declspec( dllexport ) KSGSBildKlasse( KSGScriptObj *zObj, Bild *std = new Bild() );
  14. // Destruktor
  15. __declspec( dllexport ) ~KSGSBildKlasse();
  16. // nicht constant
  17. __declspec( dllexport ) void set( Bild *b );
  18. __declspec( dllexport ) virtual KSGSVariable *startFunktion( int id, bool access, RCArray< KSGSVariable > *parameter ) override;
  19. __declspec( dllexport ) virtual KSGSVariable *doOperator( int id, KSGSVariable *rechts ) override;
  20. // constant
  21. __declspec( dllexport ) virtual Bild *getVal() const;
  22. __declspec( dllexport ) virtual Bild *zVal() const;
  23. // Reference Counting
  24. __declspec( dllexport ) virtual KSGSVariable *release() override;
  25. };
  26. }
  27. #endif