| 1 |
/* |
| 2 |
* -------------------------------------------------------------------------- |
| 3 |
* XooNiPs Xoops modules for Neuroinformatics Platforms |
| 4 |
* Copyright (C) 2005 RIKEN, Japan. All rights reserved. |
| 5 |
* http://sourceforge.jp/projects/xoonips/ |
| 6 |
* -------------------------------------------------------------------------- |
| 7 |
* This program is free software; you can redistribute it and/or |
| 8 |
* modify it under the terms of the GNU General Public License |
| 9 |
* as published by the Free Software Foundation; either version 2 |
| 10 |
* of the License, or (at your option) any later version. |
| 11 |
* |
| 12 |
* This program is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
* GNU General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU General Public License |
| 18 |
* along with this program; if not, write to the Free Software |
| 19 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 20 |
* -------------------------------------------------------------------------- |
| 21 |
* |
| 22 |
* |
| 23 |
* $Revision: 1.1 $ |
| 24 |
* |
| 25 |
*/ |
| 26 |
#if !defined( AMAZONBOOK_H ) |
| 27 |
#define AMAZONBOOK_H |
| 28 |
|
| 29 |
class amazonbook{ |
| 30 |
public: |
| 31 |
amazonbook(); |
| 32 |
~amazonbook(); |
| 33 |
|
| 34 |
const char* getTitle() const; |
| 35 |
const char* getAuthor() const; |
| 36 |
const char* getPublisher() const; |
| 37 |
int getYearOfPublication() const; |
| 38 |
const char* getISBN() const; |
| 39 |
const char* getURL() const; |
| 40 |
|
| 41 |
void setTitle( const char* ); |
| 42 |
void setAuthor( const char* ); |
| 43 |
void setPublisher( const char* ); |
| 44 |
void setYearOfPublication( int ); |
| 45 |
void setISBN( const char* ); |
| 46 |
void setURL( const char* ); |
| 47 |
|
| 48 |
private: |
| 49 |
char *title; |
| 50 |
char *author; |
| 51 |
char *publisher; |
| 52 |
int yearOfPublication; |
| 53 |
char *isbn; |
| 54 |
char *url; |
| 55 |
}; |
| 56 |
typedef amazonbook amazonbook_t; |
| 57 |
#endif |