/***********************************************************
     Copyright 2003 Rick Miller - Pulp Free Press 
     
     This source code accompanies the text C++ For Artists
     and is provided for instructional purposes only. No 
     warranty concerning the quality of the code is expressed
     or implied.

	 You are free to use this code in your programs so long
	 as this copyright notice is included in its entirety.

**********************************************************/

#ifndef __PERSON_STRUCT_H
#define __PERSON_STRUCT_H


namespace HairColor{
	enum HairColor {Black, Red, Auburn, Brown, Blond, Silver, Grey};
	
}

namespace EyeColor{
	enum EyeColor {Black, Hazel, Blue, Brown};
}

const int NAMESIZE = 26;

struct Person {
	public:
		void setFirstName(char* _f_name);
		void setLastName(char* _l_name);
		void setHairColor(HairColor::HairColor _hair_color);
		void setEyeColor(EyeColor::EyeColor _eye_color);
		char* getFirstName();
		char* getLastName();
		char* getHairColor();
		char* getEyeColor();
		
	private:
        char f_name[NAMESIZE];
	    char l_name[NAMESIZE];
	    HairColor::HairColor hair_color;
	    EyeColor::EyeColor eye_color;	
};


#endif

