diff --git a/CMakeLists.txt b/CMakeLists.txt index ac51fb63..558649c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ include_directories("./src/LanguageBar") include_directories("./src/Register") include_directories("./src/Tf") include_directories("./src/Thread") +include_directories("./src/Utils") include_directories("./src/Window") include_directories(${SQLITE_INCLUDE_DIR}) include_directories(${BOOST_INCLUDE_DIR}) diff --git a/src/Utils/FanyUtils.h b/src/Utils/FanyUtils.h index ff645872..ed5a6caf 100644 --- a/src/Utils/FanyUtils.h +++ b/src/Utils/FanyUtils.h @@ -1,8 +1,9 @@ -#include - -namespace FanyUtuils -{ -std::string GetIMEDataDirPath(); -std::string GetLogFilePath(); -std::wstring GetLogFilePathW(); +#pragma once +#include + +namespace FanyUtuils +{ +std::string GetIMEDataDirPath(); +std::string GetLogFilePath(); +std::wstring GetLogFilePathW(); } // namespace FanyUtuils \ No newline at end of file