summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/DataLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/DataLoader.h')
-rw-r--r--StarsEx/DataLoader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/StarsEx/DataLoader.h b/StarsEx/DataLoader.h
index af8b3d5..92cdd11 100644
--- a/StarsEx/DataLoader.h
+++ b/StarsEx/DataLoader.h
@@ -27,6 +27,8 @@ class Video;
class DataLoader
{
public:
+ using Group = DataSource::Group;
+
static const char* TYPENAME() { return "DataLoader"; }
enum { DATAFILE_OK, DATAFILE_INVALID, DATAFILE_NOTEXIST };
@@ -43,7 +45,7 @@ public:
void UseVideo(Video* v);
void EnableMedia(bool enable=true);
- int InsertDatafile(const char* name, int pos=-1);
+ int InsertDatafile(const char* name, Group group=Group::DEFAULT, int pos=-1);
void ClearSources();
int EnableDatafile(const char* name);