mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-13 18:17:12 +01:00
* Add support for modules * Use "" for inclusion * Fix missing includes on Poco.Data module * Add PDF and SevenZip modules, and match modules to build macros * Add CI test * Add missing link libraries in CMake * Add remaining libraries DNSSD, CppParser and CppUnit. Changed some static declarations to inline to export * We also need to forward the ENABLE_NETSSL_* macros * Update CMakeLists files * Add samples as requested, with DateTime and URI test for example * Fix POCO_MODULES_INSTALL macro * chore(CMake): Combine install macro for libraries and C++ modules into one macro. * Apply testsuite changes and address include directories concerns * Restore accidentally deleted build files * Mistakenly added a file generated by CMake, removed. --------- Co-authored-by: Matej Kenda <matejken@gmail.com>
60 lines
2.0 KiB
C++
60 lines
2.0 KiB
C++
//
|
|
// PostgreSQL.cppm
|
|
//
|
|
// C++ module file
|
|
//
|
|
// Copyright (c) 2025, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
module;
|
|
|
|
#ifdef ENABLE_DATA_POSTGRESQL
|
|
#include "Poco/Data/PostgreSQL/BinaryExtractor.h"
|
|
#include "Poco/Data/PostgreSQL/Binder.h"
|
|
#include "Poco/Data/PostgreSQL/Connector.h"
|
|
#include "Poco/Data/PostgreSQL/Extractor.h"
|
|
#include "Poco/Data/PostgreSQL/PostgreSQL.h"
|
|
#include "Poco/Data/PostgreSQL/PostgreSQLException.h"
|
|
#include "Poco/Data/PostgreSQL/PostgreSQLStatementImpl.h"
|
|
#include "Poco/Data/PostgreSQL/PostgreSQLTypes.h"
|
|
#include "Poco/Data/PostgreSQL/SessionHandle.h"
|
|
#include "Poco/Data/PostgreSQL/SessionImpl.h"
|
|
#include "Poco/Data/PostgreSQL/StatementExecutor.h"
|
|
#include "Poco/Data/PostgreSQL/Utility.h"
|
|
#endif
|
|
|
|
export module Poco.Data:PostgreSQL;
|
|
|
|
export namespace Poco::Data::PostgreSQL {
|
|
#ifdef ENABLE_DATA_POSTGRESQL
|
|
using Poco::Data::PostgreSQL::BinaryExtractor;
|
|
using Poco::Data::PostgreSQL::Binder;
|
|
using Poco::Data::PostgreSQL::ConnectionException;
|
|
using Poco::Data::PostgreSQL::Connector;
|
|
using Poco::Data::PostgreSQL::Extractor;
|
|
using Poco::Data::PostgreSQL::InputParameter;
|
|
using Poco::Data::PostgreSQL::OutputParameter;
|
|
using Poco::Data::PostgreSQL::PGCancelFree;
|
|
using Poco::Data::PostgreSQL::PQConnectionInfoOptionsFree;
|
|
using Poco::Data::PostgreSQL::PQResultClear;
|
|
using Poco::Data::PostgreSQL::PostgreSQLException;
|
|
using Poco::Data::PostgreSQL::PostgreSQLStatementImpl;
|
|
using Poco::Data::PostgreSQL::SessionHandle;
|
|
using Poco::Data::PostgreSQL::SessionImpl;
|
|
using Poco::Data::PostgreSQL::SessionParameters;
|
|
using Poco::Data::PostgreSQL::StatementException;
|
|
using Poco::Data::PostgreSQL::StatementExecutor;
|
|
using Poco::Data::PostgreSQL::TransactionException;
|
|
using Poco::Data::PostgreSQL::Utility;
|
|
|
|
using Poco::Data::PostgreSQL::InputParameterVector;
|
|
using Poco::Data::PostgreSQL::OutputParameterVector;
|
|
using Poco::Data::PostgreSQL::SessionParametersMap;
|
|
|
|
using Poco::Data::PostgreSQL::oidToColumnDataType;
|
|
#endif
|
|
}
|