00001
00002
00003
00004
00005
00006 #ifndef QTCOLORMAP_H_
00007 #define QTCOLORMAP_H_
00008
00009 #include <map>
00010 #include <string>
00011
00012 namespace srchiliteqt {
00013
00018 class QtColorMap : public std::map<std::string, std::string> {
00019 public:
00020 QtColorMap();
00021 ~QtColorMap();
00022
00030 std::string getColor(const std::string &color);
00031 };
00032
00040 class QtColorMapRGB : public std::map<std::string, std::string> {
00041 public:
00042 QtColorMapRGB();
00043 ~QtColorMapRGB();
00044
00053 std::string getColor(const std::string &color);
00054 };
00055
00056 }
00057
00058 #endif