mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-09 08:15:33 +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>
65 lines
2.2 KiB
C++
65 lines
2.2 KiB
C++
//
|
|
// SQLite.cppm
|
|
//
|
|
// C++ module file
|
|
//
|
|
// Copyright (c) 2025, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
module;
|
|
|
|
#ifdef ENABLE_DATA_SQLITE
|
|
#include "Poco/Data/SQLite/Binder.h"
|
|
#include "Poco/Data/SQLite/Connector.h"
|
|
#include "Poco/Data/SQLite/Extractor.h"
|
|
#include "Poco/Data/SQLite/Notifier.h"
|
|
#include "Poco/Data/SQLite/SessionImpl.h"
|
|
#include "Poco/Data/SQLite/SQLiteException.h"
|
|
#include "Poco/Data/SQLite/SQLite.h"
|
|
#include "Poco/Data/SQLite/SQLiteStatementImpl.h"
|
|
#include "Poco/Data/SQLite/Utility.h"
|
|
#endif
|
|
|
|
export module Poco.Data:SQLite;
|
|
|
|
export namespace Poco::Data::SQLite {
|
|
#ifdef ENABLE_DATA_SQLITE
|
|
using Poco::Data::SQLite::AuthorizationDeniedException;
|
|
using Poco::Data::SQLite::Binder;
|
|
using Poco::Data::SQLite::CantOpenDBFileException;
|
|
using Poco::Data::SQLite::Connector;
|
|
using Poco::Data::SQLite::ConstraintViolationException;
|
|
using Poco::Data::SQLite::CorruptImageException;
|
|
using Poco::Data::SQLite::DBAccessDeniedException;
|
|
using Poco::Data::SQLite::DBLockedException;
|
|
using Poco::Data::SQLite::DataTypeMismatchException;
|
|
using Poco::Data::SQLite::DatabaseFullException;
|
|
using Poco::Data::SQLite::ExecutionAbortedException;
|
|
using Poco::Data::SQLite::Extractor;
|
|
using Poco::Data::SQLite::IOErrorException;
|
|
using Poco::Data::SQLite::InternalDBErrorException;
|
|
using Poco::Data::SQLite::InterruptException;
|
|
using Poco::Data::SQLite::InvalidLibraryUseException;
|
|
using Poco::Data::SQLite::InvalidSQLStatementException;
|
|
using Poco::Data::SQLite::LockProtocolException;
|
|
using Poco::Data::SQLite::NoMemoryException;
|
|
using Poco::Data::SQLite::Notifier;
|
|
using Poco::Data::SQLite::OSFeaturesMissingException;
|
|
using Poco::Data::SQLite::ParameterCountMismatchException;
|
|
using Poco::Data::SQLite::ReadOnlyException;
|
|
using Poco::Data::SQLite::RowTooBigException;
|
|
using Poco::Data::SQLite::SQLiteException;
|
|
using Poco::Data::SQLite::SQLiteStatementImpl;
|
|
using Poco::Data::SQLite::SchemaDiffersException;
|
|
using Poco::Data::SQLite::SessionImpl;
|
|
using Poco::Data::SQLite::TableLockedException;
|
|
using Poco::Data::SQLite::TableNotFoundException;
|
|
using Poco::Data::SQLite::TransactionException;
|
|
using Poco::Data::SQLite::Utility;
|
|
|
|
using Poco::Data::SQLite::TransactionType;
|
|
#endif
|
|
} |