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.3 - (show annotations) (download) (as text)
Sat Jan 15 00:39:16 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
Changes since 1.2: +1 -4 lines
File MIME type: text/x-chdr
・x_xnpaccount_item_basicの構造を変更.

1 /*
2 *
3 * ?≪?ゃ????(BasicInformation)膊∞?????????鴻???荐?
4 *
5 * $Revision: 1.2 $
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 int contributorUID;
18 char *title;
19 char *keywords;
20 char *description;
21 time_t lastUpdateDate;
22 time_t creationDate;
23
24 public:
25 // reserved item_id value
26 const static int IID_ROOT = 1;
27 const static int IID_BINDERS = 2;
28 const static int IID_PUBLIC = 3;
29
30 // reserved item_type_id value
31 const static int ITID_INDEX = 1;
32 const static int ITID_BINDER = 2;
33
34 item();
35 ~item();
36
37 int getItemID() const;
38 int getItemTypeID() const;
39 int getContributorUID() const;
40 const char *getTitle() const;
41 const char *getKeywords() const;
42 const char *getDescription() const;
43 time_t getLastUpdateDate() const;
44 time_t getCreationDate() const;
45
46
47 void setItemID(int);
48 void setItemTypeID(int);
49 void setContributorUID(int);
50 void setTitle(const char*);
51 void setKeywords(const char*);
52 void setDescription(const char*);
53 void setLastUpdateDate(time_t);
54 void setCreationDate(time_t);
55 };
56
57 typedef class item item_t;
58
59 #endif

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