Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/index.h

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


Revision 1.3 - (show annotations) (download) (as text)
Sat Jan 15 05:47:16 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
Changes since 1.2: +6 -1 lines
File MIME type: text/x-chdr
certify_tを定義した.

1 /*
2 *
3 * ?ゃ?潟???????鴻???若???若??膊∞?????????鴻???荐?
4 *
5 * $Revision: 1.2 $
6 */
7
8 #if !defined( INDEX_H )
9 #define INDEX_H
10
11 #include "common.h"
12 #include "item.h"
13
14 typedef unsigned int openlevel_t;
15
16 class index : public item{
17 private:
18 int parentXID;
19 int ownerUID;
20 int ownerGID;
21 openlevel_t openLevel;
22 unsigned int sortNumber;
23 public:
24 const static openlevel_t OL_PUBLIC = 1;
25 const static openlevel_t OL_GROUP_ONLY = 2;
26 const static openlevel_t OL_PRIVATE = 3;
27
28 index();
29 ~index();
30
31 int getIndexID() const;
32 int getParentIndexID() const;
33 int getOwnerUID() const;
34 int getOwnerGID() const;
35 openlevel_t getOpenLevel() const;
36 unsigned int getSortNumber() const;
37
38 void setIndexID(int);
39 void setParentIndexID(int);
40 void setOwnerUID(int);
41 void setOwnerGID(int);
42 void setOpenLevel(openlevel_t);
43 void setSortNumber(unsigned int);
44
45 bool isPublic() const;
46 bool isGroupOnly() const;
47 bool isPrivate() const;
48
49 };
50
51 typedef class index index_t; // "index"????????篁????贋???т戎????????????????????
52 typedef enum {
53 NOT_CERTIFIED,
54 CERTIFY_REQUIRED,
55 CERTIFIED
56 } certify_t;
57
58 #endif

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