Browse CVS Repository
Contents of /xoonips/AL/changelog.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.3 -
( show annotations)
( download)
( as text)
Sat Jan 22 09:25:14 2005 UTC
(19 years, 2 months ago)
by youi
Branch: MAIN
CVS Tags: mv_to_sourceforge_20050217, demo20050128
Changes since 1.2: +5 -1 lines
File MIME type: text/x-chdr
アイテムIDを追加した.
| 1 |
/* |
| 2 |
* |
| 3 |
* $Revision: 1.2 $ |
| 4 |
* |
| 5 |
*/ |
| 6 |
|
| 7 |
#if !defined( CHANGELOG_H ) |
| 8 |
#define CHANGELOG_H |
| 9 |
|
| 10 |
#include "common.h" |
| 11 |
#include "item.h" |
| 12 |
|
| 13 |
#define XNP_CHANGELOG_LOG_LEN 65535 |
| 14 |
|
| 15 |
typedef unsigned int changelogid_t; |
| 16 |
class changelog{ |
| 17 |
private: |
| 18 |
changelogid_t logid; |
| 19 |
time_t date; |
| 20 |
char* log; |
| 21 |
itemid_t item_id; |
| 22 |
public: |
| 23 |
changelog(); |
| 24 |
changelog( changelogid_t, time_t, const char* ); |
| 25 |
~changelog(); |
| 26 |
|
| 27 |
changelogid_t getChangelogID() const; |
| 28 |
time_t getDate() const; |
| 29 |
itemid_t getItemID() const; |
| 30 |
const char* getLog() const; |
| 31 |
|
| 32 |
void setChangelogID( changelogid_t ); |
| 33 |
void setDate( time_t ); |
| 34 |
void setItemID( itemid_t ); |
| 35 |
void setLog( const char* ); |
| 36 |
}; |
| 37 |
typedef changelog changelog_t; |
| 38 |
|
| 39 |
#endif |
|