#include <string>
#include "common.h"
using namespace std;

class customer
{
	public:
	customer();
	bool initNewCustomer();
	void editDetails();
	void load(ifstream &, string filename);
	void save(string filename="");
	bool isGuestAccount();
	void checkoutMovie(string movieID);
	void checkinMovie(string movieID);
	void checkinByList(forest &theForest);
	bool onCheckoutList(string movieID);

	string getDriversLicense();
	string getName();
	string getPhone();
	string getFilename();

	void display();		

	private:
	string myFilename;
	string driversLicense;	
	string fName;
	string lName;
	string phone;
	string streetAddress;
	string cityStateZip;
	
	vector<string> currentRentals;	// holds movie ID's of videos currently rented
	vector<string> pastRentals;		// holds movie ID's of videos rented in the past

	
};

// customer related functions that aren't actually part of the class
customer* customerLogin();
void customerMenu(customer *theCustomer, forest &);
