Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/group.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Sat Jan 15 05:31:43 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
Changes since 1.4: +11 -5 lines
File MIME type: text/x-chdr
groupid_tを使って定義.

1 /*
2 * Platform?違???若??膊∞???????????????劫?荐?
3 *
4 * $Revision: 1.4 $
5 * $Log: group.h,v $
6 * Revision 1.4 2005/01/14 10:33:53 aga
7 * ??nt groupIndexID??菴遵??.
8 *
9 * Revision 1.3 2004/11/30 02:29:54 aga
10 * ??etXxxx()??const??????.
11 *
12 * Revision 1.2 2004/11/25 04:12:14 youi
13 * typedef??菴遵??.
14 *
15 * Revision 1.1 2004/11/22 08:25:16 youi
16 * initial version.
17 *
18 *
19 */
20 #if !defined( GROUP_H )
21 #define GROUP_H
22
23 typedef unsigned int groupid_t;
24 class group{
25 private:
26 groupid_t gid; //?違???若???潟?若??
27 char* gname; //?違???若????
28 char* desc; //?違???若???????/span>
29 int groupIndexID;
30 public:
31 const static int GID_DEFAULT = 1;
32
33 group();
34 group( groupid_t gid, const char* gname, const char* desc );
35 ~group();
36
37 groupid_t getGID() const;
38 const char *getGname() const;
39 const char *getDesc() const;
40 int getGroupIndexID() const;
41
42 void setGID( groupid_t gid );
43 void setGname( const char *gname );
44 void setDesc( const char *desc );
45 void setGroupIndexID( int xid );
46 };
47
48 typedef group group_t;
49
50 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26