Mercurial > fife-parpg
view engine/core/util/base/utilbase.i @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children | 90005975cdbb |
line wrap: on
line source
%module fife %{ #include "util/base/resourceclass.h" #include "util/base/fifeclass.h" %} %include "util/base/exception.h" %include "util/resource/resource.i" namespace FIFE { typedef unsigned int fifeid_t; class FifeClass: public IReferenceCounted { public: virtual ~FifeClass(); fifeid_t getFifeId(); void addRef(); void decRef(); unsigned int getRefCount(); }; class ResourceClass: public FifeClass, public IResource { public: virtual ~ResourceClass(); const ResourceLocation& getResourceLocation(); const std::string& getResourceFile(); virtual void setResourceLocation(const ResourceLocation& location); virtual void setResourceFile(const std::string& filename); int getPoolId(); void setPoolId(int poolid); private: ResourceClass(); }; }