warn if LMMS-plugin does not have required <libname>_plugin_descriptor field
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@734 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-02-28 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/plugin.cpp:
|
||||
warn if LMMS-plugin does not have required <libname>_plugin_descriptor
|
||||
field
|
||||
|
||||
2008-02-28 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* plugins/sf2_player:
|
||||
|
||||
@@ -169,6 +169,10 @@ void plugin::getDescriptorsOfAvailPlugins( QVector<descriptor> & _plugin_descs )
|
||||
desc_name.toAscii().constData() );
|
||||
if( plugin_desc == NULL )
|
||||
{
|
||||
printf( "LMMS-plugin %s does not have a "
|
||||
"plugin-descriptor named %s!\n",
|
||||
f.absoluteFilePath().toAscii().constData(),
|
||||
desc_name.toAscii().constData() );
|
||||
continue;
|
||||
}
|
||||
_plugin_descs.push_back( *plugin_desc );
|
||||
|
||||
Reference in New Issue
Block a user