- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
reader_time.h.svn-base
资源名称:lread.rar [点击查看]
上传用户:holyzs
上传日期:2022-06-29
资源大小:2335k
文件大小:1k
源码类别:
编辑器/阅读器
开发平台:
C/C++
- #ifndef __READER_TIME_H__
- #define __READER_TIME_H__ 1
- typedef struct _reader_time_tag {
- int year;
- int month;
- int day;
- int hour;
- int minute;
- int second;
- } reader_time_t;
- //show time info on screen
- void reader_show_time_info(screen_t screen);
- void reader_set_time_info(reader_time_t *tm);
- //initialize and start the timer used by the reader
- void reader_time_init(void);
- //reset the reference time counter to current time
- void reader_time_reset(void);
- //return the elapsed time in ms after the last reset/init
- unsigned int reader_time_elapse(void);
- //return current time
- void reader_time_get(reader_time_t *tm);
- //increase the timer counter by seconds
- void reader_time_inc(int seconds);
- #endif