home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cslio205.zip
/
INCLUDE
/
CSTIME.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-21
|
1KB
|
53 lines
/***********************************************************************
CSA Library, Free Evaluation Version 2.0.5
Release: January 22th 1997
Defining the csTIME class.
Copyright(c) 1994-1997
ComBits
The Netherlands
***********************************************************************/
#ifndef __CSTIME_H
#define __CSTIME_H
#include "time.h"
#include "cstypes.h"
class csTIME
{
private:
int hour;
int min;
int sec;
int hund;
public:
csTIME(void);
void now(void);
int hours(void ) { return hour; }
int minutes(void ) { return min; }
int seconds(void ) { return sec; }
int hunderdths(void ) { return hund; }
void hours(int i) { hour=i; }
void minutes(int i) { min=i; }
void seconds(int i) { sec=i; }
void hunderdths(int i) { hund=i; }
long cs_time(void);
void cs_time(long t);
csCHAR *asc_time(void);
operator char*() { return asc_time(); }
};
#endif