From 84fa35c9be995961314fef885c98b1264080e597 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 10 May 2017 09:44:06 +0200 Subject: [PATCH] Clean-up --- lib/libZRCola/build/libZRCola.vcxproj | 2 -- lib/libZRCola/build/libZRCola.vcxproj.filters | 6 ---- lib/libZRCola/include/zrcola/normalize.h | 35 ------------------- lib/libZRCola/src/normalize.cpp | 25 ------------- lib/libZRCola/src/stdafx.h | 1 - 5 files changed, 69 deletions(-) delete mode 100644 lib/libZRCola/include/zrcola/normalize.h delete mode 100644 lib/libZRCola/src/normalize.cpp diff --git a/lib/libZRCola/build/libZRCola.vcxproj b/lib/libZRCola/build/libZRCola.vcxproj index db326dd..3850fc2 100644 --- a/lib/libZRCola/build/libZRCola.vcxproj +++ b/lib/libZRCola/build/libZRCola.vcxproj @@ -23,7 +23,6 @@ - Create Create @@ -37,7 +36,6 @@ - diff --git a/lib/libZRCola/build/libZRCola.vcxproj.filters b/lib/libZRCola/build/libZRCola.vcxproj.filters index 6075625..888459d 100644 --- a/lib/libZRCola/build/libZRCola.vcxproj.filters +++ b/lib/libZRCola/build/libZRCola.vcxproj.filters @@ -21,9 +21,6 @@ Source Files - - Source Files - Source Files @@ -47,9 +44,6 @@ Header Files - - Header Files - Header Files diff --git a/lib/libZRCola/include/zrcola/normalize.h b/lib/libZRCola/include/zrcola/normalize.h deleted file mode 100644 index 9e56ee6..0000000 --- a/lib/libZRCola/include/zrcola/normalize.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - Copyright 2015-2017 Amebis - - This file is part of ZRCola. - - ZRCola is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - ZRCola is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with ZRCola. If not, see . -*/ - -#pragma once - -#include "common.h" - - -namespace ZRCola { - /// - /// Normalizes a source string - /// - /// \param[in] input Input string (UTF-16) - /// \param[in] inputMax Length of the input string in characters. Can be (size_t)-1 if \p input is zero terminated. - /// \param[out] output Output string (UTF-16) - /// \param[out] map The vector of source to destination index mappings (optional) - /// - void ZRCOLA_API Normalize(_In_z_count_(inputMax) const wchar_t* input, _In_ size_t inputMax, _Out_ std::wstring &output, _Out_opt_ std::vector* map = NULL); -}; diff --git a/lib/libZRCola/src/normalize.cpp b/lib/libZRCola/src/normalize.cpp deleted file mode 100644 index 2cdef89..0000000 --- a/lib/libZRCola/src/normalize.cpp +++ /dev/null @@ -1,25 +0,0 @@ -/* - Copyright 2015-2017 Amebis - - This file is part of ZRCola. - - ZRCola is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - ZRCola is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with ZRCola. If not, see . -*/ - -#include "stdafx.h" - - -void ZRCola::Normalize(_In_z_count_(inputMax) const wchar_t* input, _In_ size_t inputMax, _Out_ std::wstring &output, _Out_opt_ std::vector* map) -{ -} diff --git a/lib/libZRCola/src/stdafx.h b/lib/libZRCola/src/stdafx.h index 3037e25..357ba21 100644 --- a/lib/libZRCola/src/stdafx.h +++ b/lib/libZRCola/src/stdafx.h @@ -23,7 +23,6 @@ #include "../include/zrcola/character.h" #include "../include/zrcola/language.h" -#include "../include/zrcola/normalize.h" #include "../include/zrcola/translate.h" #include "../include/zrcola/tag.h"