Browse CVS Repository
Annotation of /xoonips/AL/amazonbook.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
( as text)
Sat Jan 22 02:41:15 2005 UTC
(19 years, 2 months ago)
by aga
Branch: MAIN
CVS Tags: mv_to_sourceforge_20050217, demo20050128
File MIME type: text/x-chdr
・amazon補完を作成.
| 1 |
aga |
1.1 |
/* |
| 2 |
|
|
* |
| 3 |
|
|
* $Revision$ |
| 4 |
|
|
* |
| 5 |
|
|
*/ |
| 6 |
|
|
#if !defined( AMAZONBOOK_H ) |
| 7 |
|
|
#define AMAZONBOOK_H |
| 8 |
|
|
|
| 9 |
|
|
class amazonbook{ |
| 10 |
|
|
public: |
| 11 |
|
|
amazonbook(); |
| 12 |
|
|
~amazonbook(); |
| 13 |
|
|
|
| 14 |
|
|
const char* getTitle() const; |
| 15 |
|
|
const char* getAuthor() const; |
| 16 |
|
|
const char* getPublisher() const; |
| 17 |
|
|
int getYearOfPublication() const; |
| 18 |
|
|
const char* getISBN() const; |
| 19 |
|
|
const char* getURL() const; |
| 20 |
|
|
|
| 21 |
|
|
void setTitle( const char* ); |
| 22 |
|
|
void setAuthor( const char* ); |
| 23 |
|
|
void setPublisher( const char* ); |
| 24 |
|
|
void setYearOfPublication( int ); |
| 25 |
|
|
void setISBN( const char* ); |
| 26 |
|
|
void setURL( const char* ); |
| 27 |
|
|
|
| 28 |
|
|
private: |
| 29 |
|
|
char *title; |
| 30 |
|
|
char *author; |
| 31 |
|
|
char *publisher; |
| 32 |
|
|
int yearOfPublication; |
| 33 |
|
|
char *isbn; |
| 34 |
|
|
char *url; |
| 35 |
|
|
}; |
| 36 |
|
|
typedef amazonbook amazonbook_t; |
| 37 |
|
|
#endif |
|