blob: e515058fd4ffdc4e2a3ed40232bc10c8befadcb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef DEF_GROUP_CLASS_H
#define DEF_GROUP_CLASS_H
#include <UserManager/Usr.ns.h>
class Group {
friend void Usr::load();
private:
Group(String name, u32int gid) : m_name(name), m_gid(gid) {}
String m_name;
u32int m_gid;
public:
void setName(String wat) { m_name = wat; Usr::save(); }
String getName() { return m_name; }
u32int getGid() { return m_gid; }
};
#endif
|