12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #pragma once
- #include "Array.h"
- #include "Critical.h"
- namespace Framework
- {
- class Textur;
-
- class TexturList
- {
- private:
- static int id;
- static Critical cs;
- RCArray< Textur > *textures;
- RCArray< Text > *names;
- int ref;
- public:
-
- TexturList();
-
- ~TexturList();
-
- __declspec( dllexport ) void leeren();
-
-
-
- __declspec( dllexport ) bool addTextur( Textur *t, const char *name );
-
-
- __declspec( dllexport ) void removeTextur( const char *name );
-
-
-
- __declspec( dllexport ) bool hatTextur( const char *name ) const;
-
-
- __declspec( dllexport ) Textur *getTextur( const char *name ) const;
-
-
- __declspec( dllexport ) Textur *getTextur( int id ) const;
-
-
- __declspec( dllexport ) Textur *zTextur( const char *name ) const;
-
-
- __declspec( dllexport ) Textur *zTextur( int id ) const;
-
-
- __declspec( dllexport ) TexturList *getThis();
-
-
- __declspec( dllexport ) TexturList *release();
-
- static void init();
-
- static void destroy();
- };
- }
|