1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #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 ) 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();
- };
- }
|