00001
00002
00004
00005 #if !defined(AFX_REGPROPERTYBAG_H__EDBD33FB_AD44_487E_ABF6_579AD99DA158__INCLUDED_)
00006 #define AFX_REGPROPERTYBAG_H__EDBD33FB_AD44_487E_ABF6_579AD99DA158__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "PropertyBag.h"
00013 #include <abuse/RegKey.h>
00014
00015 class RegPropertyBag : public PropertyBag
00016 {
00017 public:
00018 RegPropertyBag(const std::string& name,RegKey* father=NULL);
00019 virtual ~RegPropertyBag();
00020 protected:
00021 virtual Property* load(Property& prop) throw(std::exception);
00022 virtual Property* store(Property& prop);
00023 RegKey* m_reg;
00024 };
00025
00026 #endif // !defined(AFX_REGPROPERTYBAG_H__EDBD33FB_AD44_487E_ABF6_579AD99DA158__INCLUDED_)