Skip to content

Commit

Permalink
refactor(framework): export some class
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai committed Jul 20, 2020
1 parent e79d343 commit e00d4e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion framework/base/media/AVAFPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AVAFPacket : public IAFPacket {
};


class AVAFFrame : public IAFFrame {
class CICADA_CPLUS_EXTERN AVAFFrame : public IAFFrame {
public:
explicit AVAFFrame(AVFrame *frame, FrameType type = FrameTypeUnknown);

Expand Down
2 changes: 1 addition & 1 deletion framework/codec/ActiveDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <base/media/spsc_queue.h>
#include <queue>

class ActiveDecoder : public Cicada::IDecoder {
class CICADA_CPLUS_EXTERN ActiveDecoder : public Cicada::IDecoder {

public:
ActiveDecoder();
Expand Down
5 changes: 2 additions & 3 deletions framework/codec/codecPrototype.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <memory>
#include "IDecoder.h"

class codecPrototype {
// static vector<codecPrototype *> codecQueue;
class CICADA_CPLUS_EXTERN codecPrototype {
// static vector<codecPrototype *> codecQueue;
static codecPrototype* codecQueue [10];
static int _nextSlot;
public:
Expand All @@ -21,7 +21,6 @@ class codecPrototype {
static void addPrototype(codecPrototype *se);

static Cicada::IDecoder *create(AFCodecID code, uint64_t flags, int maxSize);

};


Expand Down

0 comments on commit e00d4e4

Please sign in to comment.