Export many more symbols

This commit is contained in:
Simon Quigley 2024-12-15 20:58:55 -06:00
parent 4af2af923f
commit 64e193594d
9 changed files with 72 additions and 0 deletions

View File

@ -26,6 +26,14 @@
#include <string> #include <string>
#include <vector> #include <vector>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
struct build_record { struct build_record {

View File

@ -5,6 +5,14 @@
#include <optional> #include <optional>
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
class archive_dependency { class archive_dependency {

View File

@ -22,6 +22,14 @@
#include <generator> #include <generator>
#include "distro_series.h" #include "distro_series.h"
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
class archive_permission { class archive_permission {

View File

@ -19,6 +19,14 @@
#include <string> #include <string>
#include <map> #include <map>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
extern const std::string AUTH_PLAINTEXT_CREDENTIALS_FILE; extern const std::string AUTH_PLAINTEXT_CREDENTIALS_FILE;
bool read_plaintext_credentials_impl(std::string& consumer_key, bool read_plaintext_credentials_impl(std::string& consumer_key,

View File

@ -6,6 +6,14 @@
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#include <generator> #include <generator>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
class binary_package_publishing_history { class binary_package_publishing_history {

View File

@ -20,6 +20,14 @@
#include <functional> #include <functional>
#include <optional> #include <optional>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
// Forward declaration // Forward declaration
class launchpad; class launchpad;

View File

@ -6,6 +6,14 @@
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#include <generator> #include <generator>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
class distro_arch_series { class distro_arch_series {

View File

@ -5,6 +5,14 @@
#include <optional> #include <optional>
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
class distro_arch_series_filter { class distro_arch_series_filter {

View File

@ -7,6 +7,14 @@
#include <generator> #include <generator>
#include <vector> #include <vector>
#ifndef LAUNCHPAD_API
#ifdef BUILDING_LAUNCHPAD
#define LAUNCHPAD_API __attribute__((visibility("default")))
#else
#define LAUNCHPAD_API
#endif
#endif
class launchpad; class launchpad;
class distro_series { class distro_series {