diff options
author | Aki <please@ignore.pl> | 2022-04-12 18:53:54 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-12 18:53:54 +0200 |
commit | cbc7d648a83274c87a2d3796a2877adc8c48cb42 (patch) | |
tree | 12a981594d8c084464048b86c63a6a9fc0d25457 /StarsEx/DataLoader.h | |
parent | 9c1439b0e5e1c90723c0f2f6e22a24a935623542 (diff) | |
download | starshatter-cbc7d648a83274c87a2d3796a2877adc8c48cb42.zip starshatter-cbc7d648a83274c87a2d3796a2877adc8c48cb42.tar.gz starshatter-cbc7d648a83274c87a2d3796a2877adc8c48cb42.tar.bz2 |
Added a way to weak reference sources without any dependencies
Diffstat (limited to 'StarsEx/DataLoader.h')
-rw-r--r-- | StarsEx/DataLoader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StarsEx/DataLoader.h b/StarsEx/DataLoader.h index 6d83e2f..4cc526d 100644 --- a/StarsEx/DataLoader.h +++ b/StarsEx/DataLoader.h @@ -46,8 +46,8 @@ public: void UseVideo(Video* v); void EnableMedia(bool enable=true); - int InsertDatafile(const char* name, Group group=Group::DEFAULT, int pos=-1); - void ClearSources(); + int MountDatafile(const char* name, Group group=Group::DEFAULT, int pos=-1); + int UnmountSource(int src); int EnableDatafile(const char* name); int DisableDatafile(const char* name); |