Fission FSN
Loading...
Searching...
No Matches
gfCCatalogueParserVarTable.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCCatalogueParserVarTable.h
4*
5* Purpose: Parse the catalogue data file
6*
7*********************************************************************/
8
9#ifndef gfCCatalogueParserVarTablehdr
10#define gfCCatalogueParserVarTablehdr
11
13
17
18
20{
21public:
22
23 gfCCatalogueCatalogue* const catalogueLoad(const fsStr& pFileName) override;
24
27
28protected:
29
30
31 void categoryLoad(gfCCatalogueCatalogue* pCatalogue, const fsStr& pParentCategory, const fsStr& pFileName);
32
33private:
34
35 struct SSettings
36 {
37 fsStr mIconFileBase;
38 fsStr mImageFileBase;
39 fsStr mDefaultAction;
40 };
41
42 void entriesCreate(gfCCatalogueCatalogue* pCatalogue, const fsStr& pParentCategory,
43 fsCVariableTable* pVarTable, const SSettings& pSettings);
44 static fsBool itemCreate(gfCCatalogueCatalogue* pCatalogue, const fsStr& pParentCategory,
45 fsCVariableTable* pVarTable, const SSettings& pSettings, fsS32 pIndex);
46 static void graphicFileBasesGet(fsCVariableTable* pVarTable, SSettings& pSettings);
47 static fsStr extensionAdd(const fsStr& pFilename);
48};
49
50#endif
Definition fsCVariableTable.h:27
Definition fsStr.h:23
Definition gfCCatalogueCatalogue.h:17
void categoryLoad(gfCCatalogueCatalogue *pCatalogue, const fsStr &pParentCategory, const fsStr &pFileName)
Definition gfCCatalogueParserVarTable.cpp:65
virtual ~gfCCatalogueParserVarTable()
Definition gfCCatalogueParserVarTable.cpp:151
gfCCatalogueParserVarTable()
Definition gfCCatalogueParserVarTable.cpp:147
gfCCatalogueCatalogue *const catalogueLoad(const fsStr &pFileName) override
Definition gfCCatalogueParserVarTable.cpp:10
Definition gfICatalogueEntry.h:18
gfICatalogueParser()
Definition gfICatalogueParser.h:30
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20