/usr/include/CLAM/LadspaWrapperCreator.hxx is in libclam-dev 1.4.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | #ifndef __LadspaWrapperCreator_hxx__
#define __LadspaWrapperCreator_hxx__
#include "LadspaWrapper.hxx"
#include "LadspaWrapperBuffer.hxx"
namespace CLAM {
class LadspaWrapperCreator : public CLAM::Factory<Processing>::Creator
{
private:
std::string _libraryFileName;
unsigned _index;
std::string _factoryKey;
public:
LadspaWrapperCreator( const std::string& libraryFileName, unsigned index, const std::string& key )
: _libraryFileName( libraryFileName )
, _index( index )
, _factoryKey( key )
{
//std::cout<<"LadspaWrapperCreator() libraryFileName="<<libraryFileName<<std::endl;
}
virtual Processing* Create()
{
//std::cout << "LadspaWrapperCreator::Create called"<<std::endl;
return new CLAM::LadspaWrapper(_libraryFileName, _index, _factoryKey);
}
virtual ~LadspaWrapperCreator()
{
//std::cout<<"~LadspaWrapperCreator()"<<std::endl;
}
};
class LadspaWrapperBufferCreator : public CLAM::Factory<Processing>::Creator
{
private:
std::string _libraryFileName;
unsigned _index;
std::string _factoryKey;
public:
LadspaWrapperBufferCreator( const std::string& libraryFileName, unsigned index, const std::string& key )
: _libraryFileName( libraryFileName )
, _index( index )
, _factoryKey( key )
{
//std::cout<<"LadspaWrapperBufferCreator() libraryFileName="<<libraryFileName<<std::endl;
}
virtual Processing* Create()
{
//std::cout << "LadspaWrapperBufferCreator::Create called"<<std::endl;
return new CLAM::LadspaWrapperBuffer(_libraryFileName, _index, _factoryKey);
}
virtual ~LadspaWrapperBufferCreator()
{
//std::cout<<"~LadspaWrapperBufferCreator()"<<std::endl;
}
};
} // namespace CLAM
#endif // __LadspaWrapperCreator_hxx__
|