Source

wiesel / src / common / wiesel / gl / texture / spritesheet.h

Diff from to

File src/common/wiesel/gl/texture/spritesheet.h

 #ifndef __WIESEL_GL_TEXTURE_SPRITESHEET_H__
 #define __WIESEL_GL_TEXTURE_SPRITESHEET_H__
 
+#include <wiesel/wiesel-common.def>
+
 #include "spriteframe.h"
 
 #include <wiesel/gl/gl.h>
 	/**
 	 * @brief A SpriteSheet contains multiple sprites which belongs to a single texture.
 	 */
-	class SpriteSheet : public virtual SharedObject
+	class WIESEL_COMMON_EXPORT SpriteSheet : public virtual SharedObject
 	{
 	public:
 		typedef std::vector<SpriteFrame*>			List;
 		 * @brief Load a spritesheet from a file.
 		 * @param file	A file containing the spritesheet.
 		 */
-		static SpriteSheet* fromFile(File *file);
+		static WIESEL_COMMON_EXPORT SpriteSheet* fromFile(File *file);
 
 		virtual ~SpriteSheet();