--- a/src/internfile/mimehandler.cpp
+++ b/src/internfile/mimehandler.cpp
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.10 2005-11-08 21:02:55 dockes Exp $ (C) 2004 J.F.Dockes";
+static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.11 2005-11-16 15:07:20 dockes Exp $ (C) 2004 J.F.Dockes";
#endif
#include <iostream>
@@ -167,6 +167,16 @@
return hs;
}
+/**
+ * Return icon name
+ */
+string getMimeIconName(const std::string &mtype, ConfTree *mhandlers)
+{
+ string hs;
+ mhandlers->get(mtype, hs, "icons");
+ return hs;
+}
+
/**
* Return decompression command line for given mime type
*/