mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 07:16:31 -04:00
Rename components/to_utf8 directory and files to follow naming conventions
This commit is contained in:
parent
89426af94a
commit
ac9505b536
@ -12,7 +12,3 @@ components/crashcatcher/windows_crashcatcher.hpp
|
||||
components/crashcatcher/windows_crashmonitor.cpp
|
||||
components/crashcatcher/windows_crashmonitor.hpp
|
||||
components/crashcatcher/windows_crashshm.hpp
|
||||
components/to_utf8/gen_iconv.cpp
|
||||
components/to_utf8/tables_gen.hpp
|
||||
components/to_utf8/to_utf8.cpp
|
||||
components/to_utf8/to_utf8.hpp
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <components/resource/niffilemanager.hpp>
|
||||
#include <components/resource/scenemanager.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
#include <components/version/version.hpp>
|
||||
#include <components/vfs/manager.hpp>
|
||||
#include <components/vfs/registerarchives.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <components/esmloader/load.hpp>
|
||||
#include <components/files/collections.hpp>
|
||||
#include <components/files/multidircollection.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <components/misc/strings/conversion.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <components/esm4/readerutils.hpp>
|
||||
#include <components/esm4/records.hpp>
|
||||
#include <components/esm4/typetraits.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
namespace EsmTool
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <components/misc/constants.hpp>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "importercontext.hpp"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
class MwIniImporter
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <components/resource/niffilemanager.hpp>
|
||||
#include <components/resource/scenemanager.hpp>
|
||||
#include <components/settings/values.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
#include <components/version/version.hpp>
|
||||
#include <components/vfs/manager.hpp>
|
||||
#include <components/vfs/registerarchives.hpp>
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <components/misc/rng.hpp>
|
||||
#include <components/nifosg/nifloader.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "view/doc/viewmanager.hpp"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <apps/opencs/model/world/universalid.hpp>
|
||||
|
||||
#include <components/files/multidircollection.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "../world/data.hpp"
|
||||
#include "../world/idcompletionmanager.hpp"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <components/files/multidircollection.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "loader.hpp"
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "operation.hpp"
|
||||
#include "savingstate.hpp"
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include <components/esm3/esmwriter.hpp>
|
||||
#include <components/misc/algorithm.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
namespace CSMDoc
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "../doc/operation.hpp"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <apps/opencs/model/world/idcollection.hpp>
|
||||
#include <apps/opencs/model/world/record.hpp>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "../doc/stage.hpp"
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <apps/opencs/model/world/universalid.hpp>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <components/esm3/selectiongroup.hpp>
|
||||
#include <components/files/multidircollection.hpp>
|
||||
#include <components/misc/algorithm.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "cell.hpp"
|
||||
#include "idcollection.hpp"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "bookpage.hpp"
|
||||
#include "journalviewmodel.hpp"
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
namespace MWGui
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "windowbase.hpp"
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <components/sdlutil/sdlcursormanager.hpp>
|
||||
#include <components/sdlutil/sdlvideowrapper.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "charactercreation.hpp"
|
||||
#include "draganddrop.hpp"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <QHash>
|
||||
#include <QVariant>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
namespace Wizard
|
||||
{
|
||||
|
@ -155,9 +155,9 @@ add_component_dir (nifbullet
|
||||
bulletnifloader
|
||||
)
|
||||
|
||||
add_component_dir (to_utf8
|
||||
tables_gen
|
||||
to_utf8
|
||||
add_component_dir (toutf8
|
||||
tablesgen
|
||||
toutf8
|
||||
)
|
||||
|
||||
add_component_dir(esm attr common defs esmcommon records util luascripts format refid esmbridge esmterrain
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "components/esm/decompose.hpp"
|
||||
#include "components/esm/esmcommon.hpp"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/esm3/cellid.hpp>
|
||||
#include <components/misc/notnullptr.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "formatversion.hpp"
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <components/files/constrainedfilestream.hpp>
|
||||
#include <components/files/conversion.hpp>
|
||||
#include <components/misc/strings/lower.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
#include <components/vfs/manager.hpp>
|
||||
|
||||
#include "grouptype.hpp"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <MyGUI_XmlDocument.h>
|
||||
|
||||
#include <components/myguiplatform/myguidatamanager.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
namespace VFS
|
||||
{
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
#include <span>
|
||||
|
||||
#include "niffile.hpp"
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
#include "../to_utf8/to_utf8.hpp"
|
||||
#include "niffile.hpp"
|
||||
|
||||
namespace
|
||||
{
|
||||
|
1
components/to_utf8/.gitignore
vendored
1
components/to_utf8/.gitignore
vendored
@ -1 +0,0 @@
|
||||
gen_iconv
|
@ -1,8 +0,0 @@
|
||||
tables_gen.hpp: gen_iconv
|
||||
./gen_iconv > tables_gen.hpp
|
||||
|
||||
gen_iconv: gen_iconv.cpp
|
||||
g++ -Wall $^ -o $@
|
||||
|
||||
clean:
|
||||
rm -f ./gen_iconv
|
1
components/toutf8/.gitignore
vendored
Normal file
1
components/toutf8/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
geniconv
|
8
components/toutf8/Makefile
Normal file
8
components/toutf8/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
tablesgen.hpp: geniconv
|
||||
./geniconv > tablesgen.hpp
|
||||
|
||||
geniconv: geniconv.cpp
|
||||
g++ -Wall $^ -o $@
|
||||
|
||||
clean:
|
||||
rm -f ./geniconv
|
@ -1,4 +1,4 @@
|
||||
// This program generates the file tables_gen.hpp
|
||||
// This program generates the file tablesgen.hpp
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@ -88,7 +88,7 @@ int write_table(const std::string& charset, const std::string& tableName)
|
||||
int main()
|
||||
{
|
||||
// Write header guard
|
||||
std::cout << "#ifndef COMPONENTS_TOUTF8_TABLE_GEN_H\n#define COMPONENTS_TOUTF8_TABLE_GEN_H\n\n";
|
||||
std::cout << "#ifndef OPENMW_COMPONENTS_TOUTF8_TABLESGEN_HPP\n#define OPENMW_COMPONENTS_TOUTF8_TABLESGEN_HPP\n\n";
|
||||
|
||||
// Write namespace
|
||||
std::cout << "namespace ToUTF8\n{\n\n";
|
@ -1,5 +1,5 @@
|
||||
#ifndef COMPONENTS_TOUTF8_TABLE_GEN_H
|
||||
#define COMPONENTS_TOUTF8_TABLE_GEN_H
|
||||
#ifndef OPENMW_COMPONENTS_TOUTF8_TABLESGEN_HPP
|
||||
#define OPENMW_COMPONENTS_TOUTF8_TABLESGEN_HPP
|
||||
|
||||
namespace ToUTF8
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "to_utf8.hpp"
|
||||
#include "toutf8.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
// Generated tables
|
||||
#include "tables_gen.hpp"
|
||||
#include "tablesgen.hpp"
|
||||
|
||||
using namespace ToUTF8;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef COMPONENTS_TOUTF8_H
|
||||
#define COMPONENTS_TOUTF8_H
|
||||
#ifndef OPENMW_COMPONENTS_TOUTF8_TOUTF8_HPP
|
||||
#define OPENMW_COMPONENTS_TOUTF8_TOUTF8_HPP
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
@ -2,7 +2,7 @@
|
||||
#define COMPONENTS_TRANSLATION_DATA_H
|
||||
|
||||
#include <components/files/collections.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/toutf8/toutf8.hpp>
|
||||
|
||||
namespace Translation
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user