00001 // $Id: SLFileExt.hpp,v 1.2 2004/04/05 01:42:30 mr_lex Exp $ 00002 #ifndef SL_FILE_EXT_HPP 00003 #define SL_FILE_EXT_HPP 00004 00005 #include <boost/shared_ptr.hpp> 00006 00007 #include "segusoland.hpp" 00008 #include "SLString.hpp" 00009 00010 SL_NAMESPACE_BEGIN 00011 00032 class SLFileExt { 00033 public: 00038 SLFileExt(const SLString &ext); 00039 00043 bool operator==(const SLFileExt &other) const; 00044 00048 const SLString &to_SLString() const; 00049 00050 protected: 00054 boost::shared_ptr<const SLString> _shared_ptr; 00055 }; // class SLFileExt 00056 00057 SL_NAMESPACE_END 00058 #endif // #ifndef SL_FILE_EXT_HPP 00059 // $Log: SLFileExt.hpp,v $ 00060 // Revision 1.2 2004/04/05 01:42:30 mr_lex 00061 // FIX: bug with abstract class & plugins 00062 // 00063 // Revision 1.1 2004/04/01 13:02:40 mr_lex 00064 // NEW: added SLFileExt SLDirectory SLDirectoryList 00065 // 00066