00001 #ifndef _ots_DesktopIconTable_h_
00002 #define _ots_DesktopIconTable_h_
00003
00004 #include <string>
00005
00006 #include "otsdaq-core/TableCore/TableBase.h"
00007
00008 namespace ots
00009 {
00010 class DesktopIconTable : public TableBase
00011 {
00012 public:
00013 DesktopIconTable(void);
00014 virtual ~DesktopIconTable(void);
00015
00016
00017 void init(ConfigurationManager* configManager);
00018
00019 struct DesktopIcon
00020 {
00021 bool enforceOneWindowInstance_;
00022 std::string caption_, alternateText_, imageURL_, windowContentURL_, folderPath_;
00023 std::string permissionThresholdString_;
00024
00025 };
00026
00027 const std::vector<DesktopIconTable::DesktopIcon>& getAllDesktopIcons() const
00028 {
00029 return activeDesktopIcons_;
00030 }
00031
00032 private:
00033 std::string removeCommas(const std::string& str,
00034 bool andHexReplace = false,
00035 bool andHTMLReplace = false);
00036
00037 std::vector<DesktopIconTable::DesktopIcon>
00038 activeDesktopIcons_;
00039 };
00040 }
00041 #endif