00001 /* 00002 * Copyright (c) 2006 by Kirill Kolodyazhniy. 00003 * See the file "license.terms" for information on usage and redistribution 00004 * of this file, and for a DISCLAIMER OF ALL WARRANTIES. 00005 */ 00006 00007 #ifndef M_ICON_H 00008 #define M_ICON_H 00009 00010 namespace MWidgets 00011 { 00013 class Icon 00014 { 00015 protected: 00016 HICON m_hIcon; 00017 public: 00019 Icon(); 00022 void Load(std::string fileName); 00024 void Free(); 00026 ~Icon(); 00028 HICON GetHICON(); 00029 }; 00030 }; 00031 00032 #endif