mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 00:32:44 +00:00
18 lines
247 B
C
18 lines
247 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);
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|