-DLLManager::DLLManager( const char *fname )
+DLLManager::DLLManager(const char *fname)
{
// Try to open the library now and get any error message.
DLLManager::~DLLManager()
{
// close the library if it isn't null
- if( h!=0 )
+ if (h!=0)
dlclose(h);
}
-bool DLLManager::GetSymbol(
- void **v,
- const char *sym_name
- )
+bool DLLManager::GetSymbol(void **v, const char *sym_name)
{
// try extract a symbol from the library
// get any error message is there is any
}
-DLLFactoryBase::DLLFactoryBase(
- const char *fname,
- const char *factory=0
- ) : DLLManager(fname)
+DLLFactoryBase::DLLFactoryBase(const char *fname, const char *factory) : DLLManager(fname)
{
// try get the factory function if there is no error yet