blob: 9de39b477bef7609725dc1d6a21ae0b8d7b969f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <pch.hpp>
#include "sourceObject.h"
unsigned int SourceObject::loadOrder = 1;
SourceObject::SourceObject(const xmlpp::Element * p) :
name(p ? p->get_attribute_value("name") : "anon"),
order(loadOrder++)
{
}
SourceObject::SourceObject(const std::string & n) :
name(n),
order(loadOrder++)
{
}
SourceObject::~SourceObject()
{
}
|