aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-09-16 01:08:49 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-09-16 01:08:49 +0300
commit42f1ad36ef93c98542f9899ada57bd55396a99f5 (patch)
treed0b10dd617764271db739b608a9d6bfaa63d516b
parentmake the 'Elevate' button smaller (diff)
downloadprivilege-check-42f1ad36ef93c98542f9899ada57bd55396a99f5.tar.gz
privilege-check-42f1ad36ef93c98542f9899ada57bd55396a99f5.zip
.hpp instead of .h for C++ headers
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt2
-rw-r--r--error.hpp (renamed from error.h)0
-rw-r--r--handle.hpp (renamed from handle.h)0
-rw-r--r--main.cpp10
-rw-r--r--os.hpp (renamed from os.h)2
-rw-r--r--process.hpp (renamed from process.h)2
-rw-r--r--sid.hpp (renamed from sid.h)2
-rw-r--r--token.hpp (renamed from token.h)8
8 files changed, 13 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1da2b43..d01997b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
project(privilege_test)
file(GLOB ${PROJECT_NAME}_source_files "*.cpp")
-file(GLOB ${PROJECT_NAME}_header_files "*.h")
+file(GLOB ${PROJECT_NAME}_header_files "*.h" "*.hpp")
file(GLOB ${PROJECT_NAME}_resource_files "*.rc")
add_executable(${PROJECT_NAME} WIN32
${${PROJECT_NAME}_source_files}
diff --git a/error.h b/error.hpp
index 2ea7f85..2ea7f85 100644
--- a/error.h
+++ b/error.hpp
diff --git a/handle.h b/handle.hpp
index 5f83f24..5f83f24 100644
--- a/handle.h
+++ b/handle.hpp
diff --git a/main.cpp b/main.cpp
index cbb77cf..1777d79 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,9 +1,9 @@
-#include "error.h"
-#include "os.h"
-#include "process.h"
+#include "error.hpp"
+#include "os.hpp"
+#include "process.hpp"
#include "resource_ids.h"
-#include "sid.h"
-#include "token.h"
+#include "sid.hpp"
+#include "token.hpp"
#include <Windows.h>
#include <CommCtrl.h>
diff --git a/os.h b/os.hpp
index e4ba71c..1a3c52d 100644
--- a/os.h
+++ b/os.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "error.h"
+#include "error.hpp"
#include <Windows.h>
diff --git a/process.h b/process.hpp
index 9aaf319..864d452 100644
--- a/process.h
+++ b/process.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "error.h"
+#include "error.hpp"
#include <Windows.h>
#include <shellapi.h>
diff --git a/sid.h b/sid.hpp
index 5da8da7..15ce73b 100644
--- a/sid.h
+++ b/sid.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "error.h"
+#include "error.hpp"
#include <Windows.h>
#include <sddl.h>
diff --git a/token.h b/token.hpp
index 66dac28..5669970 100644
--- a/token.h
+++ b/token.hpp
@@ -1,9 +1,9 @@
#pragma once
-#include "error.h"
-#include "handle.h"
-#include "os.h"
-#include "sid.h"
+#include "error.hpp"
+#include "handle.hpp"
+#include "os.hpp"
+#include "sid.hpp"
#include <Windows.h>