14 #ifndef _PieDock_IconMap_
15 #define _PieDock_IconMap_
33 typedef std::vector<std::string> Paths;
39 virtual inline void addPath(
const std::string p ) {
40 paths.push_back( p ); }
41 virtual inline const Paths &getPath()
const {
43 virtual inline void setFileForMissing(
const std::string f ) {
45 virtual inline const std::string &getFileForMissing()
const {
46 return fileForMissing; }
47 virtual inline void setFileForFiller(
const std::string f ) {
49 virtual inline const std::string &getFileForFiller()
const {
50 return fileForFiller; }
55 virtual Icon *
getIcon( std::string, std::string, std::string );
64 const std::string )
const;
67 typedef std::map<std::string, std::string> AliasToFile;
68 typedef std::map<std::string, Icon *> FileToIcon;
74 AliasToFile nameToFile;
75 AliasToFile classToFile;
76 AliasToFile titleToFile;
78 static const char fallbackPng[];
81 std::string fileForMissing;
82 std::string fileForFiller;