Program Listing for File RTC.hpp

Return to documentation for file (doc/include/RTC.hpp)

#ifndef RTC_HPP_
#define RTC_HPP_

#include <ctime>

#include "EmodRet.hpp"

class RTC {
public:
    virtual ~RTC(){};

    virtual EmodRet init() = 0;

    virtual EmodRet uninit() = 0;

    virtual bool getTime(tm* rtc) = 0;

    virtual bool setTime(tm* rtc) = 0;
};

#endif  // RTC_HPP_