Export many more symbols

main
Simon Quigley 7 days ago
parent 4af2af923f
commit 64e193594d

@ -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 {

@ -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 {

@ -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 {

@ -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,

@ -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 {

@ -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;

@ -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 {

@ -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 {

@ -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 {

Loading…
Cancel
Save