Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/item.h

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


Revision 1.2 - (show annotations) (download) (as text)
Fri Jan 14 10:34:45 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
Changes since 1.1: +15 -4 lines
File MIME type: text/x-chdr
。ヲitemID -> iid.
。ヲsetDescriptor -> setDescription.

1 /*
2 *
3 * 繧「繧、繝?Β(BasicInformation)邂。逅?畑繧ッ繝ゥ繧ケ縺ョ螳」險?
4 *
5 * $Revision: 1.1 $
6 */
7
8 #if !defined( ITEM_H )
9 #define ITEM_H
10
11 #include "common.h"
12
13 class item {
14 private:
15 int iid;
16 int itemTypeID;
17 char *subtype;
18 int contributorUID;
19 char *title;
20 char *keywords;
21 char *description;
22 time_t lastUpdateDate;
23 time_t creationDate;
24
25 public:
26 // reserved item_id value
27 const static int IID_ROOT = 1;
28 const static int IID_BINDERS = 2;
29 const static int IID_PUBLIC = 3;
30
31 // reserved item_type_id value
32 const static int ITID_INDEX = 1;
33 const static int ITID_BINDER = 2;
34
35 item();
36 ~item();
37
38 int getItemID() const;
39 int getItemTypeID() const;
40 const char *getSubtype() const;
41 int getContributorUID() const;
42 const char *getTitle() const;
43 const char *getKeywords() const;
44 const char *getDescription() const;
45 time_t getLastUpdateDate() const;
46 time_t getCreationDate() const;
47
48
49 void setItemID(int);
50 void setItemTypeID(int);
51 void setSubtype(const char *);
52 void setContributorUID(int);
53 void setTitle(const char*);
54 void setKeywords(const char*);
55 void setDescription(const char*);
56 void setLastUpdateDate(time_t);
57 void setCreationDate(time_t);
58 };
59
60 typedef class item item_t;
61
62 #endif

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