Program Listing for File functions_win.hpp
↰ Return to documentation for file (include/ecl/time_lite/functions_win.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef ECL_TIME_LITE_FUNCTIONS_WIN_HPP_
#define ECL_TIME_LITE_FUNCTIONS_WIN_HPP_
/*****************************************************************************
** Cross Platform Configuration
*****************************************************************************/
#include <ecl/time_lite/config.hpp>
#include "macros.hpp"
#if defined(ECL_HAS_WIN_TIMERS)
/*****************************************************************************
** Includes
*****************************************************************************/
#include <ctime>
#include <ecl/config/macros.hpp>
#include "types_win.hpp"
#include "errors.hpp"
#include "macros.hpp"
/*****************************************************************************
** Namespaces
*****************************************************************************/
namespace ecl {
/*****************************************************************************
** Functions
*****************************************************************************/
ecl_time_lite_PUBLIC TimeError epoch_time(TimeStructure &time);
ecl_time_lite_PUBLIC TimeError sleep_until(const TimeStructure &time);
ecl_time_lite_PUBLIC TimeError sleep(const TimeStructure &time);
} // namespace ecl
#endif
#endif /* ECL_TIME_LITE_FUNCTIONS_WIN_HPP_ */