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.7 - (show annotations) (download) (as text)
Thu Feb 3 12:03:10 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
CVS Tags: mv_to_sourceforge_20050217
Changes since 1.6: +5 -2 lines
File MIME type: text/x-chdr
定数定義のデータ型を修正.

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

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