1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/********************************************************************
*
*	File:		gfCCatalogueCatalogue.h
*
*	Purpose:	Base container for categories and items
*
*********************************************************************/

#ifndef gfCCatalogueCataloguehdr
#define gfCCatalogueCataloguehdr

#include <map>

#include "../gfICatalogueEntry.h"

class gfCCatalogueCatalogue : public gfICatalogueEntry
{
public:

#if !defined fsRELEASE
	fsS32 totalCostGet() const override;
#endif

	void categoryAdd(const fsStr& pParentCategoryName, const fsStr& pNewCategoryName, const fsStr& pTextKey,
	                 const fsStr& pIconFileName);
	void itemAddToCategory(const fsStr& pParentCategoryName, std::map<fsStr, fsStr> &pParams) const;

	gfCCatalogueCatalogue();
	virtual ~gfCCatalogueCatalogue();<--- Destructor in derived class

protected:

private:
};

#endif