mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-25 04:31:52 +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 |