From: stephan b. <sg...@us...> - 2004-12-24 03:25:06
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22067/include/pclasses/System Modified Files: Mime.h Log Message: appears to work except for file ext map, maybe due to operator prob in MimeType. Too tired... Index: Mime.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/Mime.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Mime.h 24 Dec 2004 03:01:08 -0000 1.2 +++ Mime.h 24 Dec 2004 03:24:54 -0000 1.3 @@ -36,6 +36,12 @@ class /* PIO_EXPORT */ MimeType { public: //! Constructor + /** + Creates an empty, useless MimeType. Required + for classloading and deserialization. + */ + MimeType(); + //! Constructor /*! \param mediaType MIME media type \param subType MIME sub type @@ -88,9 +94,7 @@ class /* PIO_EXPORT */ MimeTypeDb { public: - typedef std::multimap< - std::string,MimeType - > MimeTypeMap; + typedef std::multimap< std::string, MimeType > MimeTypeMap; typedef MimeTypeMap::const_iterator const_iterator; typedef std::multimap<MimeType,std::string> FileExtensionsMap; |