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