Skip to content

Commit bb55824

Browse files
committed
support native presets with .dylib
1 parent e234792 commit bb55824

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libprojectM/NativePresetFactory/NativePresetFactory.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// C++ Interface: NativePresetFactory
33
//
4-
// Description:
4+
// Description:
55
//
66
//
77
// Author: Carmelo Piccione <[email protected]>, (C) 2008
@@ -26,16 +26,16 @@ class NativePresetFactory : public PresetFactory {
2626

2727
virtual ~NativePresetFactory();
2828

29-
virtual std::auto_ptr<Preset> allocate(const std::string & url, const std::string & name = std::string(),
29+
virtual std::auto_ptr<Preset> allocate(const std::string & url, const std::string & name = std::string(),
3030
const std::string & author = std::string());
3131

32-
virtual std::string supportedExtensions() const { return "so"; }
32+
virtual std::string supportedExtensions() const { return "so dylib"; }
3333

3434
private:
3535
PresetLibrary * loadLibrary(const std::string & url);
3636
typedef std::map<std::string, PresetLibrary*> PresetLibraryMap;
3737
PresetLibraryMap _libraries;
38-
38+
3939
};
4040

4141
#endif

0 commit comments

Comments
 (0)