You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #296 from OpenShot/std-prefixes
Remove all 'using namespace' directives from headers
This commit is contained in:
@@ -56,7 +56,6 @@
|
||||
#endif
|
||||
%shared_ptr(juce::AudioSampleBuffer)
|
||||
%shared_ptr(openshot::Frame)
|
||||
%shared_ptr(Frame)
|
||||
|
||||
%{
|
||||
#include "OpenShotVersion.h"
|
||||
@@ -226,13 +225,11 @@
|
||||
|
||||
|
||||
/* Wrap std templates (list, vector, etc...) */
|
||||
namespace std {
|
||||
%template(ClipList) list<Clip *>;
|
||||
%template(EffectBaseList) list<EffectBase *>;
|
||||
%template(CoordinateVector) vector<Coordinate>;
|
||||
%template(PointsVector) vector<Point>;
|
||||
%template(FieldVector) vector<Field>;
|
||||
%template(MappedFrameVector) vector<MappedFrame>;
|
||||
%template(MappedMetadata) map<string, string>;
|
||||
%template(AudioDeviceInfoVector) vector<AudioDeviceInfo>;
|
||||
}
|
||||
%template(ClipList) std::list<openshot::Clip *>;
|
||||
%template(EffectBaseList) std::list<openshot::EffectBase *>;
|
||||
%template(CoordinateVector) std::vector<openshot::Coordinate>;
|
||||
%template(PointsVector) std::vector<openshot::Point>;
|
||||
%template(FieldVector) std::vector<openshot::Field>;
|
||||
%template(MappedFrameVector) std::vector<openshot::MappedFrame>;
|
||||
%template(MappedMetadata) std::map<std::string, std::string>;
|
||||
%template(AudioDeviceInfoVector) std::vector<openshot::AudioDeviceInfo>;
|
||||
|
||||
@@ -59,8 +59,6 @@ namespace std {
|
||||
#endif
|
||||
%template(SPtrAudioBuffer) std::shared_ptr<juce::AudioSampleBuffer>;
|
||||
%template(SPtrOpenFrame) std::shared_ptr<openshot::Frame>;
|
||||
%template(SPtrFrame) std::shared_ptr<Frame>;
|
||||
|
||||
|
||||
%{
|
||||
/* Ruby and FFmpeg define competing RSHIFT macros,
|
||||
@@ -223,13 +221,11 @@ namespace std {
|
||||
|
||||
|
||||
/* Wrap std templates (list, vector, etc...) */
|
||||
namespace std {
|
||||
%template(ClipList) list<Clip *>;
|
||||
%template(EffectBaseList) list<EffectBase *>;
|
||||
%template(CoordinateVector) vector<Coordinate>;
|
||||
%template(PointsVector) vector<Point>;
|
||||
%template(FieldVector) vector<Field>;
|
||||
%template(MappedFrameVector) vector<MappedFrame>;
|
||||
%template(MappedMetadata) map<string, string>;
|
||||
%template(AudioDeviceInfoVector) vector<AudioDeviceInfo>;
|
||||
}
|
||||
%template(ClipList) std::list<openshot::Clip *>;
|
||||
%template(EffectBaseList) std::list<openshot::EffectBase *>;
|
||||
%template(CoordinateVector) std::vector<openshot::Coordinate>;
|
||||
%template(PointsVector) std::vector<openshot::Point>;
|
||||
%template(FieldVector) std::vector<openshot::Field>;
|
||||
%template(MappedFrameVector) std::vector<openshot::MappedFrame>;
|
||||
%template(MappedMetadata) std::map<std::string, std::string>;
|
||||
%template(AudioDeviceInfoVector) std::vector<openshot::AudioDeviceInfo>;
|
||||
|
||||
Reference in New Issue
Block a user