00001 #ifndef PERSISTENTSTRINGLIST_H 00002 #define PERSISTENTSTRINGLIST_H 00003 00004 #include "RegPropertyBag.h" 00005 #include "StringList.h" 00006 #include "PropertiesNames.h" 00007 class PersistentStringList: public StringList 00008 { 00009 public: 00010 PersistentStringList(const std::string& name); 00011 virtual ~PersistentStringList(); 00012 protected: 00013 static RegPropertyBag& theBag() 00014 { 00015 static RegPropertyBag Bag(CACHEPATH); 00016 return Bag; 00017 } 00018 std::string m_name; 00019 }; 00020 00021 #endif