Browse CVS Repository
Annotation of /xoonips/AL/group.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
( as text)
Mon Nov 22 08:25:16 2004 UTC
(19 years, 4 months ago)
by youi
Branch: MAIN
File MIME type: text/x-chdr
initial version.
| 1 |
youi |
1.1 |
/* |
| 2 |
|
|
* Platformグループ管理のためのクラス宣言 |
| 3 |
|
|
* |
| 4 |
|
|
* $Revision$ |
| 5 |
|
|
* $Log$ |
| 6 |
|
|
* |
| 7 |
|
|
*/ |
| 8 |
|
|
#if !defined( GROUP_H ) |
| 9 |
|
|
#define GROUP_H |
| 10 |
|
|
|
| 11 |
|
|
class group{ |
| 12 |
|
|
private: |
| 13 |
|
|
int gid; //グループコード |
| 14 |
|
|
char* gname; //グループ名 |
| 15 |
|
|
char* desc; //グループの説明 |
| 16 |
|
|
public: |
| 17 |
|
|
group(); |
| 18 |
|
|
group( int gid, const char* gname, const char* desc ); |
| 19 |
|
|
~group(); |
| 20 |
|
|
|
| 21 |
|
|
int getGID(); |
| 22 |
|
|
const char *getGname(); |
| 23 |
|
|
const char *getDesc(); |
| 24 |
|
|
|
| 25 |
|
|
void setGID( int gid ); |
| 26 |
|
|
void setGname( const char *gname ); |
| 27 |
|
|
void setDesc( const char *desc ); |
| 28 |
|
|
}; |
| 29 |
|
|
|
| 30 |
|
|
#endif |
|