Browse CVS Repository
Annotation of /xoonips/AL/index.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.3 -
( hide 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 |
aga |
1.1 |
/* |
| 2 |
|
|
* |
| 3 |
|
|
* ?ゃ?潟???????鴻???若???若??膊∞?????????鴻???荐? |
| 4 |
|
|
* |
| 5 |
youi |
1.3 |
* $Revision: 1.2 $ |
| 6 |
aga |
1.1 |
*/ |
| 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 |
aga |
1.2 |
int parentXID; |
| 19 |
|
|
int ownerUID; |
| 20 |
|
|
int ownerGID; |
| 21 |
aga |
1.1 |
openlevel_t openLevel; |
| 22 |
aga |
1.2 |
unsigned int sortNumber; |
| 23 |
aga |
1.1 |
public: |
| 24 |
aga |
1.2 |
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 |
aga |
1.1 |
|
| 28 |
|
|
index(); |
| 29 |
|
|
~index(); |
| 30 |
|
|
|
| 31 |
aga |
1.2 |
int getIndexID() const; |
| 32 |
aga |
1.1 |
int getParentIndexID() const; |
| 33 |
aga |
1.2 |
int getOwnerUID() const; |
| 34 |
|
|
int getOwnerGID() const; |
| 35 |
aga |
1.1 |
openlevel_t getOpenLevel() const; |
| 36 |
aga |
1.2 |
unsigned int getSortNumber() const; |
| 37 |
aga |
1.1 |
|
| 38 |
aga |
1.2 |
void setIndexID(int); |
| 39 |
aga |
1.1 |
void setParentIndexID(int); |
| 40 |
aga |
1.2 |
void setOwnerUID(int); |
| 41 |
|
|
void setOwnerGID(int); |
| 42 |
aga |
1.1 |
void setOpenLevel(openlevel_t); |
| 43 |
aga |
1.2 |
void setSortNumber(unsigned int); |
| 44 |
aga |
1.1 |
|
| 45 |
|
|
bool isPublic() const; |
| 46 |
|
|
bool isGroupOnly() const; |
| 47 |
|
|
bool isPrivate() const; |
| 48 |
|
|
|
| 49 |
|
|
}; |
| 50 |
|
|
|
| 51 |
|
|
typedef class index index_t; // "index"????????篁????贋???т戎???????????????????? |
| 52 |
youi |
1.3 |
typedef enum { |
| 53 |
|
|
NOT_CERTIFIED, |
| 54 |
|
|
CERTIFY_REQUIRED, |
| 55 |
|
|
CERTIFIED |
| 56 |
|
|
} certify_t; |
| 57 |
aga |
1.1 |
|
| 58 |
|
|
#endif |
|