44 lines
507 B
C++
Executable File
44 lines
507 B
C++
Executable File
/*
|
|
* This file is a part of CMSLU -- Content Management System like Unix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2008-2009, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfilecmslucoregroup
|
|
#define headerfilecmslucoregroup
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
|
|
struct Group
|
|
{
|
|
long id;
|
|
std::string name; // group name
|
|
std::vector<long> members; // users id
|
|
|
|
Group()
|
|
{
|
|
Clear();
|
|
}
|
|
|
|
|
|
void Clear()
|
|
{
|
|
id = -1;
|
|
name.clear();
|
|
members.clear();
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|