aboutsummaryrefslogtreecommitdiff
path: root/src/wallpaper.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2018-12-01 13:29:28 +0100
committerFelix Morgner <felix.morgner@gmail.com>2018-12-01 13:29:28 +0100
commit927caf94ad0d7b98d4b2c3833da8f0f2707d4f87 (patch)
treed2c11ac56c8a28d6fc315660db742bd9e84876ca /src/wallpaper.hpp
parentf60dbe50a694e6f4bbcb68f49ded09984d934984 (diff)
downloadwanda-927caf94ad0d7b98d4b2c3833da8f0f2707d4f87.tar.xz
wanda-927caf94ad0d7b98d4b2c3833da8f0f2707d4f87.zip
wanda: replace usage of iostream with spdlog
Diffstat (limited to 'src/wallpaper.hpp')
-rw-r--r--src/wallpaper.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wallpaper.hpp b/src/wallpaper.hpp
index 6222557..5dbd5d0 100644
--- a/src/wallpaper.hpp
+++ b/src/wallpaper.hpp
@@ -1,12 +1,16 @@
#ifndef WANDA_WALLPAPER_HPP
#define WANDA_WALLPAPER_HPP
+#include <spdlog/spdlog.h>
+#include <spdlog/sinks/null_sink.h>
+
#include <filesystem>
+#include <memory>
namespace wanda
{
-
-void set_wallpaper(std::filesystem::path wallpaper);
+
+void set_wallpaper(std::filesystem::path wallpaper, std::shared_ptr<spdlog::logger> logger = spdlog::create<spdlog::sinks::null_sink_st>("null"));
} // wanda