Add CPPKAFKA_API to utils classes

This commit is contained in:
Matias Fontanini
2017-07-04 18:09:06 -07:00
parent 9e6315fcc2
commit 08815e97c0
4 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ namespace cppkafka {
/** /**
* *
*/ */
class BackoffPerformer { class CPPKAFKA_API BackoffPerformer {
public: public:
using TimeUnit = std::chrono::milliseconds; using TimeUnit = std::chrono::milliseconds;
static constexpr TimeUnit DEFAULT_INITIAL_BACKOFF{100}; static constexpr TimeUnit DEFAULT_INITIAL_BACKOFF{100};

View File

@@ -59,7 +59,7 @@ namespace cppkafka {
* This class is not thread safe. * This class is not thread safe.
*/ */
template <typename BufferType> template <typename BufferType>
class BufferedProducer { class CPPKAFKA_API BufferedProducer {
public: public:
/** /**
* Concrete builder * Concrete builder

View File

@@ -43,7 +43,7 @@ namespace cppkafka {
* \brief Events generated by a CompactedTopicProcessor * \brief Events generated by a CompactedTopicProcessor
*/ */
template <typename Key, typename Value> template <typename Key, typename Value>
class CompactedTopicEvent { class CPPKAFKA_API CompactedTopicEvent {
public: public:
/** /**
* \brief Event type enum * \brief Event type enum

View File

@@ -70,7 +70,7 @@ namespace cppkafka {
* * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition) * * EOF: void(BasicConsumerDispatcher::EndOfFile, TopicPartition)
*/ */
template <typename ConsumerType> template <typename ConsumerType>
class BasicConsumerDispatcher { class CPPKAFKA_API BasicConsumerDispatcher {
public: public:
/** /**
* Tag to indicate a timeout occurred * Tag to indicate a timeout occurred