summaryrefslogtreecommitdiffstats
path: root/src/GroupManager.h
blob: 9e1689a768861d3992d3526d4683b18ea093c2e7 (plain) (blame)
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

#pragma once





class cGroup;





class cGroupManager
{
public:
	bool ExistsGroup(const AString & a_Name);
	cGroup * GetGroup(const AString & a_Name);
	void LoadGroups(void);
	void CheckUsers(void);
	
	/** Writes the default header to the specified ini file, and saves it as "users.ini". */
	static void GenerateDefaultUsersIni(cIniFile & a_IniFile);
	
private:
	friend class cRoot;
	cGroupManager();
	~cGroupManager();

	struct sGroupManagerState;
	sGroupManagerState * m_pState;
} ;