/[svn]/linuxsampler/trunk/src/plugins/InstrumentEditorFactory.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/plugins/InstrumentEditorFactory.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3033 by schoenebeck, Wed Jan 27 20:29:36 2010 UTC revision 3034 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2007 - 2010 Christian Schoenebeck                       *   *   Copyright (C) 2007 - 2016 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 239  namespace LinuxSampler { Line 239  namespace LinuxSampler {
239                  continue;                  continue;
240              // skip files that are not .so files              // skip files that are not .so files
241              if (sPath.length() < 3 ||              if (sPath.length() < 3 ||
242                  sPath.substr(sPath.length() - 3) != ".so" &&                  (sPath.substr(sPath.length() - 3) != ".so" &&
243                  sPath.find(".so.") == String::npos)                   sPath.find(".so.") == String::npos) )
244                  continue;                  continue;
245              // load the DLL (the plugins should register themselfes automatically)              // load the DLL (the plugins should register themselfes automatically)
246              void* pDLL = dlopen(sPath.c_str(), RTLD_NOW);              void* pDLL = dlopen(sPath.c_str(), RTLD_NOW);

Legend:
Removed from v.3033  
changed lines
  Added in v.3034

  ViewVC Help
Powered by ViewVC