//******************************************************************
// SPECIFICATION FILE (timetyp2.h)
//
// (This is for the 2nd version of the TimeType class.
//  It includes two class constructors.)
//
// This file gives the specification
// of a TimeType abstract data type
//******************************************************************

class TimeType
{
public:
    void Set( int hours, int minutes, int seconds );

    void Increment();

    void Write() const;

    TimeType( int initHrs, int initMins, int initSecs );  // constructor

    TimeType();			// default constructor
private:
    int hrs;
    int mins;
    int secs;
};

