|
// XmlProjectSettings.h
//
#if !defined (_XMLPROJECTSETTINGS_H_)
#define _XMLPROJECTSETTINGS_H_
#include <string>
#include "enums.h"
#include "XmlSerializable.h"
//#include "XmlProjectSettings_Vb.h"
#include "XmlProjectSettings_Cpp.h"
#include "XmlProjectSettings_Atl.h"
#include "XmlProjectSettings_VC7.h"
class CXmlProjectSettings: public CXmlSerializable
{
public:
CXmlProjectSettings();
virtual ~CXmlProjectSettings();
// implementation of CXmlSerializable
public:
virtual bool BuildFromXml(CXMLDOMNode& node);
virtual bool AppendToDOMDocument(CXMLDOMDocument2& xmlDoc, CXMLDOMElement& parentElement, bool parentIsValid = true);
CXmlProjectSettings_Cpp* GetCppSettings();
//CXmlProjectSettings_Vb* GetVbSettings();
CXmlProjectSettings_Atl* GetAtlSettings();
CXmlProjectSettings_VC7* GetVC7Settings();
static string GetXmlNodeName(){return "ProjectSettings";}
void SetDefaults();
void Clear();
protected:
//CXmlProjectSettings_Vb vbSettings_;
CXmlProjectSettings_Cpp cppSettings_;
CXmlProjectSettings_Atl atlSettings_;
CXmlProjectSettings_VC7 vc7Settings_;
};
#endif //!defined (_XMLPROJECTSETTINGS_H_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
For all Stefano's latest code, binaries and tutorials visit www.codemachines.com