summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/DataLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/DataLoader.h')
-rw-r--r--StarsEx/DataLoader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/StarsEx/DataLoader.h b/StarsEx/DataLoader.h
index eaf4f28..81098e8 100644
--- a/StarsEx/DataLoader.h
+++ b/StarsEx/DataLoader.h
@@ -11,6 +11,7 @@
#define DataLoader_h
#include "Archive.h"
+#include "DataSource.h"
#include "Types.h"
#include "List.h"
#include "Text.h"
@@ -42,6 +43,9 @@ public:
void UseVideo(Video* v);
void EnableMedia(bool enable=true);
+ int InsertDatafile(const char* name, int pos=-1);
+ void ClearSources();
+
int EnableDatafile(const char* name);
int DisableDatafile(const char* name);
@@ -79,6 +83,7 @@ private:
bool enable_media;
List<DataArchive> archives;
+ List<DataSource> sources;
static DataLoader* loader;
};