Skip to content

Commit 739d63f

Browse files
committed
Windows: add missing dllexport flags into headers
1 parent 5ebabd0 commit 739d63f

File tree

10 files changed

+24
-22
lines changed

10 files changed

+24
-22
lines changed

src/AvTranscoder/Profile.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef _AV_TRANSCODER_PROFILE_HPP_
22
#define _AV_TRANSCODER_PROFILE_HPP_
33

4+
#include "common.hpp"
5+
46
#include <string>
57
#include <cstring>
68
#include <vector>
@@ -9,7 +11,7 @@
911
namespace avtranscoder
1012
{
1113

12-
class Profile
14+
class AvExport Profile
1315
{
1416
public:
1517
static const std::string avProfileIdentificator;

src/AvTranscoder/common.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct Ratio
6464
size_t den;
6565
};
6666

67-
class ParamSet
67+
class AvExport ParamSet
6868
{
6969
public:
7070
ParamSet( void* obj )
@@ -82,11 +82,11 @@ class ParamSet
8282
void* _objContext;
8383
};
8484

85-
void split( std::vector< std::string >& splitedString, const std::string& inputString, const std::string& splitChars = ";" );
86-
int getFilesInDir( const std::string& dir, std::vector< std::string >& files );
85+
void AvExport split( std::vector< std::string >& splitedString, const std::string& inputString, const std::string& splitChars = ";" );
86+
int AvExport getFilesInDir( const std::string& dir, std::vector< std::string >& files );
8787

88-
std::string getFormat( const std::string& filename );
89-
bool matchFormat( const std::string& format, const std::string& filename );
88+
std::string AvExport getFormat( const std::string& filename );
89+
bool AvExport matchFormat( const std::string& format, const std::string& filename );
9090

9191
}
9292

src/AvTranscoder/essenceStream/AvOutputAudio.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace avtranscoder
1313
{
1414

15-
class AvOutputAudio : public IOutputEssence
15+
class AvExport AvOutputAudio : public IOutputEssence
1616
{
1717
public:
1818
AvOutputAudio();

src/AvTranscoder/essenceStructures/Pixel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ enum ESubsamplingType
3131
eSubsampling420 // 4:2:0
3232
};
3333

34-
class Pixel
34+
class AvExport Pixel
3535
{
3636
public:
3737
Pixel()

src/AvTranscoder/mediaProperty/mediaProperty.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ namespace detail
2020
/**
2121
* @brief Fill metadata parameter with the given AVDictionary.
2222
*/
23-
void fillMetadataDictionnary( AVDictionary* avdictionnary, MetadatasMap& metadata );
23+
void AvExport fillMetadataDictionnary( AVDictionary* avdictionnary, MetadatasMap& metadata );
2424
}
2525

26-
struct Channel
26+
struct AvExport Channel
2727
{
2828
size_t id;
2929
size_t chromaHeight;
3030
size_t bitStep;
3131
};
3232

33-
struct VideoProperties
33+
struct AvExport VideoProperties
3434
{
3535
std::string codecName;
3636
std::string codecLongName;
@@ -91,7 +91,7 @@ struct VideoProperties
9191
MetadatasMap getDataMap() const;
9292
};
9393

94-
struct AudioProperties
94+
struct AvExport AudioProperties
9595
{
9696
std::string codecName;
9797
std::string codecLongName;
@@ -111,7 +111,7 @@ struct AudioProperties
111111
MetadatasMap getDataMap() const;
112112
};
113113

114-
struct DataProperties
114+
struct AvExport DataProperties
115115
{
116116
size_t streamId;
117117
MetadatasMap metadatas;
@@ -120,7 +120,7 @@ struct DataProperties
120120
MetadatasMap getDataMap() const;
121121
};
122122

123-
struct SubtitleProperties
123+
struct AvExport SubtitleProperties
124124
{
125125
size_t streamId;
126126
MetadatasMap metadatas;
@@ -129,7 +129,7 @@ struct SubtitleProperties
129129
MetadatasMap getDataMap() const;
130130
};
131131

132-
struct AttachementProperties
132+
struct AvExport AttachementProperties
133133
{
134134
size_t streamId;
135135
MetadatasMap metadatas;
@@ -138,7 +138,7 @@ struct AttachementProperties
138138
MetadatasMap getDataMap() const;
139139
};
140140

141-
struct UnknownProperties
141+
struct AvExport UnknownProperties
142142
{
143143
size_t streamId;
144144
MetadatasMap metadatas;
@@ -147,7 +147,7 @@ struct UnknownProperties
147147
MetadatasMap getDataMap() const;
148148
};
149149

150-
struct Properties
150+
struct AvExport Properties
151151
{
152152
std::string filename;
153153
std::string formatName;

src/AvTranscoder/progress/ConsoleProgress.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace avtranscoder
99
/**
1010
* @brief Implementation of IProgress, to display a progress bar in console.
1111
*/
12-
class ConsoleProgress : public IProgress
12+
class AvExport ConsoleProgress : public IProgress
1313
{
1414
public:
1515
~ConsoleProgress();

src/AvTranscoder/progress/IProgress.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ enum EJobStatus
2222
* Inherit this class to have your own way to manage a progress bar.
2323
* You can inherit this class in C++, but also in python / Java binding.
2424
*/
25-
class IProgress
25+
class AvExport IProgress
2626
{
2727
public:
2828
virtual ~IProgress() {};

src/AvTranscoder/progress/NoDisplayProgress.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace avtranscoder
99
/**
1010
* @brief Implementation of IProgress, to manage cases when we need an IProgress but don't care of a progress bar.
1111
*/
12-
class NoDisplayProgress : public IProgress
12+
class AvExport NoDisplayProgress : public IProgress
1313
{
1414
public:
1515
~NoDisplayProgress()

src/AvTranscoder/transcoder/StreamTranscoder.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace avtranscoder
1717

1818
class IEssenceTransform;
1919

20-
class StreamTranscoder
20+
class AvExport StreamTranscoder
2121
{
2222
public:
2323
/**

src/AvTranscoder/transcoder/Transcoder.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enum EProcessMethod
3838
eProcessMethodInfinity,
3939
};
4040

41-
class Transcoder
41+
class AvExport Transcoder
4242
{
4343
public:
4444

0 commit comments

Comments
 (0)