// ABCBook.h: interface for the ABCBook class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_ABCBOOK_H__4645BD45_A1E3_11D3_9D28_0000F80788FD__INCLUDED_) #define AFX_ABCBOOK_H__4645BD45_A1E3_11D3_9D28_0000F80788FD__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "ABCOrder.h" #include "ABCCommon.h" /* ABCBook knows how to - write a book order, - read a book order - process a book order. */ class ABCBook : public ABCOrder { public: ABCBook(); virtual ~ABCBook(); bool AddOrder(unsigned int uiPrice, unsigned int uiISBN, const char *pszName, const char *pszAuthor); private: // // Overridden functions. // void WriteObject(); void ReadObject(); abc_status ProcessOrder(); // // Book attributes // unsigned int m_uiISBN; }; #endif // !defined(AFX_ABCBOOK_H__4645BD45_A1E3_11D3_9D28_0000F80788FD__INCLUDED_)