Add Timer class

This class is used to call a callback function
when the timer expires.  It can be one shot, or repeating.

Copied from the phosphor-fan-presence repository.

Change-Id: I9d63c2e6fd550286a2a5360e1e8d13f6a3c25923
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..ef4d98b
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,14 @@
+AM_DEFAULT_SOURCE_EXT = .cpp
+
+noinst_LTLIBRARIES = libpower.la
+libpower_la_LDFLAGS = -static
+libpower_la_LIBADD = \
+	$(PHOSPHOR_LOGGING_LIBS) \
+	$(SDBUSPLUS_LIBS)
+libpower_la_CXXFLAGS = \
+	$(PHOSPHOR_LOGGING_CFLAGS) \
+	$(SDBUSPLUS_CFLAGS)
+
+libpower_la_SOURCES = timer.cpp
+
+SUBDIRS = .