blob: 1ccc4afab3071607451c648628c0162f6b046105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef SOURCEOBJECT_H
#define SOURCEOBJECT_H
#include <libxml++/nodes/element.h>
#include <boost/intrusive_ptr.hpp>
#include "intrusivePtrBase.h"
class CommonObjects;
class _SourceObject;
typedef boost::intrusive_ptr<_SourceObject> Project2SourceObject;
class _SourceObject : public virtual IntrusivePtrBase {
public:
_SourceObject(const xmlpp::Element * p);
_SourceObject(const std::string & name);
virtual ~_SourceObject() = 0;
virtual void loadComplete(const CommonObjects *) = 0;
const std::string name;
const unsigned int order;
private:
static unsigned int loadOrder;
};
#endif
|