diff --git a/include/utils/timer.hpp b/include/utils/timer.hpp deleted file mode 100644 index 35b2b9f4..00000000 --- a/include/utils/timer.hpp +++ /dev/null @@ -1,9 +0,0 @@ -#if 0 -#pragma once - -namespace timer -{ - // unsigned int seconds_to_microseconds(float seconds); - // void sleep(float seconds); -} -#endif diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6a95a66d..9967d678 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -51,7 +51,6 @@ set(SOURCE_FILES "src/utils/io.cpp" "src/utils/proc.cpp" "src/utils/string.cpp" - "src/utils/timer.cpp" "src/utils/xlib.cpp" "src/bar.cpp" "src/eventloop.cpp" diff --git a/src/lemonbuddy.cpp b/src/lemonbuddy.cpp index ea295cf7..9be22c70 100644 --- a/src/lemonbuddy.cpp +++ b/src/lemonbuddy.cpp @@ -17,7 +17,6 @@ #include "utils/macros.hpp" #include "utils/proc.hpp" #include "utils/string.hpp" -#include "utils/timer.hpp" #include "utils/xlib.hpp" /** diff --git a/src/modules/network.cpp b/src/modules/network.cpp index ab173353..716cc602 100644 --- a/src/modules/network.cpp +++ b/src/modules/network.cpp @@ -6,7 +6,6 @@ #include "utils/config.hpp" #include "utils/io.hpp" #include "utils/proc.hpp" -#include "utils/timer.hpp" using namespace modules; diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp deleted file mode 100644 index f60cd981..00000000 --- a/src/utils/timer.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#if 0 -#include - -#include "utils/timer.hpp" - -namespace timer -{ - unsigned int seconds_to_microseconds(float seconds) { - return seconds * 1000000; - } - - void sleep(float seconds) { - usleep(seconds_to_microseconds(seconds)); - } -} -#endif