#include <C4StartupScenSelDlg.h>
Classes | |
class | Entry |
class | Folder |
class | RegularFolder |
class | Scenario |
class | SubFolder |
Public Member Functions | |
C4ScenarioListLoader (const C4ScenarioParameters &Achievements) | |
~C4ScenarioListLoader () | |
bool | DoProcessCallback (int32_t iProgress, int32_t iMaxProgress, const char *current_load_info) |
bool | Load (const StdStrBuf &sRootFolder) |
bool | Load (Folder *pSpecifiedFolder, bool fReload) |
bool | LoadExtended (Entry *pEntry) |
bool | FolderBack () |
bool | ReloadCurrent () |
bool | IsLoading () const |
Entry * | GetFirstEntry () const |
Folder * | GetCurrFolder () const |
Folder * | GetRootFolder () const |
int32_t | GetProgress () const |
int32_t | GetMaxProgress () const |
int32_t | GetProgressPercent () const |
const char * | GetProgressInfo () const |
const C4ScenarioParameters & | GetAchievements () const |
Definition at line 42 of file C4StartupScenSelDlg.h.
C4ScenarioListLoader::C4ScenarioListLoader | ( | const C4ScenarioParameters & | Achievements | ) |
Definition at line 1178 of file C4StartupScenSelDlg.cpp.
C4ScenarioListLoader::~C4ScenarioListLoader | ( | ) |
Definition at line 1183 of file C4StartupScenSelDlg.cpp.
bool C4ScenarioListLoader::DoProcessCallback | ( | int32_t | iProgress, |
int32_t | iMaxProgress, | ||
const char * | current_load_info | ||
) |
Definition at line 1220 of file C4StartupScenSelDlg.cpp.
References Application, C4GUI::Dialog::IsShown(), C4StartupScenSelDlg::pInstance, C4StartupScenSelDlg::ProcessCallback(), and StdScheduler::ScheduleProcs().
Referenced by C4ScenarioListLoader::SubFolder::DoLoadContents(), and C4ScenarioListLoader::RegularFolder::DoLoadContents().
bool C4ScenarioListLoader::FolderBack | ( | ) |
Definition at line 1276 of file C4StartupScenSelDlg.cpp.
References C4ScenarioListLoader::Entry::GetParent(), and Load().
Referenced by C4StartupScenSelDlg::DoBack().
|
inline |
Definition at line 268 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 260 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 258 of file C4StartupScenSelDlg.h.
References C4ScenarioListLoader::Folder::GetFirstEntry().
|
inline |
Definition at line 264 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 263 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 266 of file C4StartupScenSelDlg.h.
References StdStrBuf::getData().
|
inline |
Definition at line 265 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 261 of file C4StartupScenSelDlg.h.
|
inline |
Definition at line 257 of file C4StartupScenSelDlg.h.
Referenced by C4StartupScenSelDlg::DoBack(), and C4StartupScenSelDlg::DoRefresh().
bool C4ScenarioListLoader::Load | ( | const StdStrBuf & | sRootFolder | ) |
Definition at line 1238 of file C4StartupScenSelDlg.cpp.
References StdStrBuf::getData(), C4ScenarioListLoader::Folder::LoadContents(), C4ScenarioListLoader::RegularFolder::Merge(), and Reloc.
Referenced by FolderBack(), C4ScenarioListLoader::Scenario::LoadCustomPre(), C4StartupScenSelDlg::OnShown(), C4StartupScenSelDlg::OpenFolder(), and ReloadCurrent().
bool C4ScenarioListLoader::Load | ( | Folder * | pSpecifiedFolder, |
bool | fReload | ||
) |
Definition at line 1253 of file C4StartupScenSelDlg.cpp.
References C4ScenarioListLoader::Folder::LoadContents().
bool C4ScenarioListLoader::LoadExtended | ( | Entry * | pEntry | ) |
Definition at line 1265 of file C4StartupScenSelDlg.cpp.
References C4ScenarioListLoader::Entry::Load().
bool C4ScenarioListLoader::ReloadCurrent | ( | ) |
Definition at line 1286 of file C4StartupScenSelDlg.cpp.
References Load().
Referenced by C4StartupScenSelDlg::DoRefresh().