#ifndef LIBRARY_H #define LIBRARY_H #include "LibraryItem.h" #include "NoSuchItemException.h" #include "LibraryFullException.h" const int MAX_ITEMS = 2; class Library { private: LibraryItem* items[MAX_ITEMS]; int numItems; public: Library() {numItems = 0;} void addItem(LibraryItem* item) throw(LibraryFullException); LibraryItem* getItem(int itemIndex) throw(NoSuchItemException); void printItems(); }; #endif