summaryrefslogtreecommitdiffstats
path: root/includes/time.hpp
diff options
context:
space:
mode:
authorAngelo Rossi <angelo.rossi.homelab@gmail.com>2023-06-21 12:04:16 +0000
committerAngelo Rossi <angelo.rossi.homelab@gmail.com>2023-06-21 12:04:16 +0000
commitb18347ffc9db9641e215995edea1c04c363b2bdf (patch)
treef3908dc911399f1a21e17d950355ee56dc0919ee /includes/time.hpp
Initial commit.
Diffstat (limited to 'includes/time.hpp')
-rw-r--r--includes/time.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/includes/time.hpp b/includes/time.hpp
new file mode 100644
index 0000000..783d043
--- /dev/null
+++ b/includes/time.hpp
@@ -0,0 +1,33 @@
+//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*-
+
+// file time.hpp
+
+#ifndef _TIME_HPP
+#define _TIME_HPP
+
+#include <iostream>
+#include <iomanip>
+#include <ctime>
+#include <cmath>
+#include <sstream>
+
+#include "utilities.hpp"
+#include "dekspy.hpp"
+
+namespace date_time {
+
+ extern std::clock_t nCPUTime;
+
+ // Functions.
+
+ bool date44(std::string *);
+ bool time44(std::string *);
+ void settym(void);
+ void runtym(double &, double &);
+ void tdelay(int &);
+
+}
+
+#endif // _TIME_HPP
+
+// end of file time.hpp