2008-03-03 22:52:07 +00:00
|
|
|
//////////////////////////////////////////////////
|
|
|
|
// Blabber [BlabberSettings.h]
|
|
|
|
// "Singleton" object that reads application
|
|
|
|
// settings for Blabber.
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef BLABBER_SETTINGS_H
|
|
|
|
#define BLABBER_SETTINGS_H
|
|
|
|
|
|
|
|
#ifndef FILE_XML_READER_H
|
|
|
|
#include "FileXMLReader.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class BlabberSettings : public FileXMLReader {
|
|
|
|
public:
|
|
|
|
static BlabberSettings *Instance();
|
|
|
|
~BlabberSettings();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
BlabberSettings(const char *filename);
|
|
|
|
|
|
|
|
private:
|
|
|
|
// "Singleton" pattern's only instance of class
|
|
|
|
static BlabberSettings *_instance;
|
2009-11-08 14:20:46 +00:00
|
|
|
|
|
|
|
void SetDefaultTagsValue();
|
2008-03-03 22:52:07 +00:00
|
|
|
};
|
|
|
|
|
2009-11-08 14:20:46 +00:00
|
|
|
#endif
|