From 51943a5123d65de0440d94cb15bd2b44372bdc6b Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Fri, 24 Jan 2025 14:05:10 +0100 Subject: [PATCH] Use hpp --- src/CMakeLists.txt | 4 ++-- src/Command.cpp | 2 +- src/{Command.h => Command.hpp} | 0 src/Tui.cpp | 4 ++-- src/{Tui.h => Tui.hpp} | 0 src/main.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename src/{Command.h => Command.hpp} (100%) rename src/{Tui.h => Tui.hpp} (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f3a4e15..6c50d74 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,8 +8,8 @@ add_executable(${PROJECT_NAME} stringutil.hpp stringutil.cpp Tui.cpp - Tui.h - Command.h + Tui.hpp + Command.hpp Command.cpp Pager.cpp Pager.hpp diff --git a/src/Command.cpp b/src/Command.cpp index 77d438c..af4236c 100644 --- a/src/Command.cpp +++ b/src/Command.cpp @@ -6,7 +6,7 @@ // Author: Love Billenius // License: GPL-3 -#include "Command.h" +#include "Command.hpp" #include diff --git a/src/Command.h b/src/Command.hpp similarity index 100% rename from src/Command.h rename to src/Command.hpp diff --git a/src/Tui.cpp b/src/Tui.cpp index 0d14db2..f53374e 100644 --- a/src/Tui.cpp +++ b/src/Tui.cpp @@ -6,14 +6,14 @@ // Author: Love Billenius // License: GPL-3 -#include "Tui.h" +#include "Tui.hpp" #include #include #include #include -#include "Command.h" +#include "Command.hpp" #include "Pager.hpp" Tui::Tui(Pager pager) : m_pager(std::move(pager)) { diff --git a/src/Tui.h b/src/Tui.hpp similarity index 100% rename from src/Tui.h rename to src/Tui.hpp diff --git a/src/main.cpp b/src/main.cpp index d948673..e59b9e1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,7 +6,7 @@ // Author: Love Billenius // License: GPL-3 -#include "Tui.h" +#include "Tui.hpp" int main(int argc, char *argv[]) { Tui tui(Pager{});