home *** CD-ROM | disk | FTP | other *** search
- #ifndef INCL_CHEURE_HPP
- #define INCL_CHEURE_HPP
-
- class CHeure
- {
- public :
-
- CHeure();
- CHeure( int heure, int minute, int seconde = 0 );
- ~CHeure();
- void HeureSysteme();
-
- int PrendHeure();
- int PrendMinute();
- int PrendSeconde();
- bool AffecteHeure( int heure );
- bool AffecteMinute( int minute );
- bool AffecteSeconde( int seconde );
- CString Format( char * f );
-
- bool operator=( CHeure ch );
- bool operator>( CHeure ch );
- bool operator>=( CHeure ch );
- bool operator<( CHeure ch );
- bool operator<=( CHeure ch );
- bool operator==( CHeure ch );
-
- CHeure * operator=( CTime ct );
- bool operator==( CTime ct );
-
- bool EgaleHeureMinute( CHeure ch );
- bool EgaleHeureMinute( CTime ct );
-
- private :
-
- int h;
- int m;
- int s;
-
- };
-
- #endif