functions_win.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_TIME_LITE_FUNCTIONS_WIN_HPP_
13 #define ECL_TIME_LITE_FUNCTIONS_WIN_HPP_
14 
15 /*****************************************************************************
16 ** Cross Platform Configuration
17 *****************************************************************************/
18 
19 #include <ecl/time_lite/config.hpp>
20 #include "macros.hpp"
21 
22 #if defined(ECL_HAS_WIN_TIMERS)
23 
24 /*****************************************************************************
25 ** Includes
26 *****************************************************************************/
27 
28 #include <ctime>
29 #include <ecl/config/macros.hpp>
30 #include "types_win.hpp"
31 #include "errors.hpp"
32 #include "macros.hpp"
33 
34 /*****************************************************************************
35 ** Namespaces
36 *****************************************************************************/
37 
38 namespace ecl {
39 
40 /*****************************************************************************
41 ** Functions
42 *****************************************************************************/
43 
60 ecl_time_lite_PUBLIC TimeError epoch_time(TimeStructure &time);
61 
78 ecl_time_lite_PUBLIC TimeError sleep_until(const TimeStructure &time);
79 
94 ecl_time_lite_PUBLIC TimeError sleep(const TimeStructure &time);
95 
96 } // namespace ecl
97 
98 #endif
99 #endif /* ECL_TIME_LITE_FUNCTIONS_WIN_HPP_ */
#define ecl_time_lite_PUBLIC
Definition: macros.hpp:37
Macros for error-checking and program termination.
Cross platform definition for time types.


ecl_time_lite
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:09:07