mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-07 08:49: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>
54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
//
|
|
// DNSSD.cppm
|
|
//
|
|
// C++ module file
|
|
//
|
|
// Copyright (c) 2025, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
module;
|
|
|
|
#ifdef ENABLE_DNSSD
|
|
#include "Poco/DNSSD/DNSSD.h"
|
|
#include "Poco/DNSSD/DNSSDBrowser.h"
|
|
#include "Poco/DNSSD/DNSSDException.h"
|
|
#include "Poco/DNSSD/DNSSDResponder.h"
|
|
#include "Poco/DNSSD/DNSSDResponderImpl.h"
|
|
#include "Poco/DNSSD/Domain.h"
|
|
#include "Poco/DNSSD/Error.h"
|
|
#include "Poco/DNSSD/Record.h"
|
|
#include "Poco/DNSSD/Service.h"
|
|
#endif
|
|
|
|
export module Poco.DNSSD;
|
|
|
|
#ifdef ENABLE_DNSSD_AVAHI
|
|
export import :Avahi;
|
|
#endif
|
|
#ifdef ENABLE_DNSSD_BONJOUR
|
|
export import :Bonjour;
|
|
#endif
|
|
|
|
export namespace Poco::DNSSD {
|
|
#ifdef ENABLE_DNSSD
|
|
using Poco::DNSSD::DNSSDBrowser;
|
|
using Poco::DNSSD::DNSSDException;
|
|
using Poco::DNSSD::DNSSDResponder;
|
|
using Poco::DNSSD::DNSSDResponderImpl;
|
|
using Poco::DNSSD::DNSSDResponderImplFactory;
|
|
using Poco::DNSSD::Domain;
|
|
using Poco::DNSSD::Error;
|
|
using Poco::DNSSD::HandleType;
|
|
using Poco::DNSSD::OpaqueHandle;
|
|
using Poco::DNSSD::Record;
|
|
using Poco::DNSSD::Service;
|
|
|
|
using Poco::DNSSD::BrowserHandle;
|
|
using Poco::DNSSD::RecordHandle;
|
|
using Poco::DNSSD::ServiceHandle;
|
|
#endif
|
|
}
|