mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-08-11 02:17:11 +02:00
.github
bin
module
vendor
CPR
CivetWeb
ConcurrentQueue
Fmt
MDBC
MaxmindDB
POCO
ActiveRecord
ApacheConnector
CppParser
CppUnit
Crypto
Data
Encodings
Compiler
cmake
include
Poco
DoubleByteEncoding.h
Encodings.h
ISO8859_10Encoding.h
ISO8859_11Encoding.h
ISO8859_13Encoding.h
ISO8859_14Encoding.h
ISO8859_16Encoding.h
ISO8859_3Encoding.h
ISO8859_4Encoding.h
ISO8859_5Encoding.h
ISO8859_6Encoding.h
ISO8859_7Encoding.h
ISO8859_8Encoding.h
ISO8859_9Encoding.h
MacCentralEurRomanEncoding.h
MacChineseSimpEncoding.h
MacChineseTradEncoding.h
MacCyrillicEncoding.h
MacJapaneseEncoding.h
MacKoreanEncoding.h
MacRomanEncoding.h
Windows1253Encoding.h
Windows1254Encoding.h
Windows1255Encoding.h
Windows1256Encoding.h
Windows1257Encoding.h
Windows1258Encoding.h
Windows874Encoding.h
Windows932Encoding.h
Windows936Encoding.h
Windows949Encoding.h
Windows950Encoding.h
samples
src
testsuite
CMakeLists.txt
Encodings.progen
Encodings_vs140.sln
Encodings_vs140.vcxproj
Encodings_vs140.vcxproj.filters
Encodings_vs150.sln
Encodings_vs150.vcxproj
Encodings_vs150.vcxproj.filters
Encodings_vs160.sln
Encodings_vs160.vcxproj
Encodings_vs160.vcxproj.filters
Encodings_vs90.sln
Encodings_vs90.vcproj
Makefile
dependencies
generateEncodings.sh
Foundation
JSON
JWT
MongoDB
Net
NetSSL_OpenSSL
NetSSL_Win
PDF
PageCompiler
PocoDoc
ProGen
Redis
SevenZip
Util
XML
Zip
build
ci
cmake
contrib
doc
packaging
patches
release
.gitattributes
.gitignore
.gitmodules
CHANGELOG
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
Makefile
NEWS
README
README.md
VERSION
build_cmake.cmd
build_cmake.sh
build_vs140.cmd
build_vs150.cmd
build_vs160.cmd
buildwin.cmd
buildwin.ps1
components
configure
cppignore.lnx
cppignore.win
env.bat
env.sh
libversion
PUGIXML
RPMalloc
SAJSON
SimpleIni
Squirrel
TinyDir
UTF8
ZMQ
xxHash
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
74 lines
1.8 KiB
C++
74 lines
1.8 KiB
C++
//
|
|
// Encodings.h
|
|
//
|
|
// Library: Encodings
|
|
// Package: Encodings
|
|
// Module: Encodings
|
|
//
|
|
// Basic definitions for the Poco Encodings library.
|
|
// This file must be the first file included by every other Encodings
|
|
// header file.
|
|
//
|
|
// Copyright (c) 2018, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef Encodings_Encodings_INCLUDED
|
|
#define Encodings_Encodings_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
|
|
|
|
//
|
|
// The following block is the standard way of creating macros which make exporting
|
|
// from a DLL simpler. All files within this DLL are compiled with the Encodings_EXPORTS
|
|
// symbol defined on the command line. this symbol should not be defined on any project
|
|
// that uses this DLL. This way any other project whose source files include this file see
|
|
// Encodings_API functions as being imported from a DLL, whereas this DLL sees symbols
|
|
// defined with this macro as being exported.
|
|
//
|
|
#if defined(_WIN32) && defined(POCO_DLL)
|
|
#if defined(Encodings_EXPORTS)
|
|
#define Encodings_API __declspec(dllexport)
|
|
#else
|
|
#define Encodings_API __declspec(dllimport)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if !defined(Encodings_API)
|
|
#if !defined(POCO_NO_GCC_API_ATTRIBUTE) && defined (__GNUC__) && (__GNUC__ >= 4)
|
|
#define Encodings_API __attribute__ ((visibility ("default")))
|
|
#else
|
|
#define Encodings_API
|
|
#endif
|
|
#endif
|
|
|
|
|
|
//
|
|
// Automatically link Encodings library.
|
|
//
|
|
#if defined(_MSC_VER)
|
|
#if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(Encodings_EXPORTS)
|
|
#pragma comment(lib, "PocoEncodings" POCO_LIB_SUFFIX)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
void Encodings_API registerExtraEncodings();
|
|
/// Registers the character encodings from the Encodings library
|
|
/// with the TextEncoding class.
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
#endif // Encodings_Encodings_INCLUDED
|