Browse CVS Repository
Contents of /xoonips/AL/group.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.2 -
( show annotations)
( download)
( as text)
Thu Nov 25 04:12:14 2004 UTC
(19 years, 4 months ago)
by youi
Branch: MAIN
Changes since 1.1: +7 -2 lines
File MIME type: text/x-chdr
typedefを追加.
| 1 |
/* |
| 2 |
* Platform?違???若??膊∞???????????????劫?荐? |
| 3 |
* |
| 4 |
* $Revision: 1.1 $ |
| 5 |
* $Log: group.h,v $ |
| 6 |
* Revision 1.1 2004/11/22 08:25:16 youi |
| 7 |
* initial version. |
| 8 |
* |
| 9 |
* |
| 10 |
*/ |
| 11 |
#if !defined( GROUP_H ) |
| 12 |
#define GROUP_H |
| 13 |
|
| 14 |
class group{ |
| 15 |
private: |
| 16 |
int gid; //?違???若???潟?若?? |
| 17 |
char* gname; //?違???若???? |
| 18 |
char* desc; //?違???若???????/span> |
| 19 |
public: |
| 20 |
group(); |
| 21 |
group( int gid, const char* gname, const char* desc ); |
| 22 |
~group(); |
| 23 |
|
| 24 |
int getGID(); |
| 25 |
const char *getGname(); |
| 26 |
const char *getDesc(); |
| 27 |
|
| 28 |
void setGID( int gid ); |
| 29 |
void setGname( const char *gname ); |
| 30 |
void setDesc( const char *desc ); |
| 31 |
}; |
| 32 |
|
| 33 |
typedef group group_t; |
| 34 |
|
| 35 |
#endif |
|