mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-28 23:49:26 +00:00
19 lines
283 B
C++
19 lines
283 B
C++
#ifndef __MPW_TIME_H__
|
|
#define __MPW_TIME_H__
|
|
|
|
#include <cstdint>
|
|
#include <ctime>
|
|
|
|
namespace Time
|
|
{
|
|
|
|
time_t UnixToMac(time_t);
|
|
time_t MacToUnix(time_t);
|
|
|
|
uint16_t ReadDateTime(uint16_t trap);
|
|
uint16_t SecondsToDate(uint16_t trap);
|
|
|
|
uint16_t TickCount(uint16_t trap);
|
|
}
|
|
|
|
#endif |