00001 #ifndef HEADER_RESCOLORPACK_H 00002 #define HEADER_RESCOLORPACK_H 00003 00004 #include "ResourcePack.h" 00005 #include "Color.h" 00006 00007 /** 00008 * Pack of color aliases. 00009 */ 00010 class ResColorPack : public ResourcePack<Color*> { 00011 protected: 00012 virtual void unloadRes(Color *res) { delete res; } 00013 public: 00014 virtual const char *getName() const { return "color_pack"; } 00015 }; 00016 00017 #endif 00018