Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/index.h

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

revision 1.1 by aga, Sat Dec 25 10:28:25 2004 UTC revision 1.2 by aga, Fri Jan 14 10:34:29 2005 UTC
# Line 15  typedef unsigned int openlevel_t; Line 15  typedef unsigned int openlevel_t;
15    
16  class index : public item{  class index : public item{
17  private:  private:
18      int parentIndexID;      int parentXID;
19      int ownerUserID;      int ownerUID;
20      int ownerGroupID;      int ownerGID;
21      openlevel_t openLevel;      openlevel_t openLevel;
22      unsigned long sortNumber;      unsigned int sortNumber;
23  public:  public:
24      const static openlevel_t PUBLIC = 1;      const static openlevel_t OL_PUBLIC = 1;
25      const static openlevel_t GROUP_ONLY = 2;      const static openlevel_t OL_GROUP_ONLY = 2;
26      const static openlevel_t PRIVATE = 3;      const static openlevel_t OL_PRIVATE = 3;
27            
28      index();      index();
29      ~index();      ~index();
30            
31        int getIndexID() const;
32      int getParentIndexID() const;      int getParentIndexID() const;
33      int getOwnerUserID() const;      int getOwnerUID() const;
34      int getOwnerGroupID() const;      int getOwnerGID() const;
35      openlevel_t getOpenLevel() const;      openlevel_t getOpenLevel() const;
36      unsigned long getSortNumber() const;      unsigned int getSortNumber() const;
37            
38        void setIndexID(int);
39      void setParentIndexID(int);      void setParentIndexID(int);
40      void setOwnerUserID(int);      void setOwnerUID(int);
41      void setOwnerGroupID(int);      void setOwnerGID(int);
42      void setOpenLevel(openlevel_t);      void setOpenLevel(openlevel_t);
43      void setSortNumber(unsigned long);      void setSortNumber(unsigned int);
44            
45      bool isPublic() const;      bool isPublic() const;
46      bool isGroupOnly() const;      bool isGroupOnly() const;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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