00001 00002 // /*! \file FEAPIHostUtilities.h 00003 // \brief host utilities interface for Feature Extraction 00004 // plugin API (FEAPI). */ 00005 // 00006 // Copyright (c) 2006-2007, Ircam-Centre Pomidou 00007 // All rights reserved. 00008 // 00009 // Redistribution and use in source and binary forms, with or without 00010 // modification, are permitted provided that the following conditions 00011 // are met: 00012 // 00013 // * Redistributions of source code must retain the above copyright 00014 // notice, this list of conditions and the following disclaimer. 00015 // * Redistributions in binary form must reproduce the above 00016 // copyright notice, this list of conditions and the following 00017 // disclaimer in the documentation and/or other materials 00018 // provided with the distribution. 00019 // * Neither the name of the FEAPI development team nor the names 00020 // of its contributors may be used to endorse or promote products 00021 // derived from this software without specific prior written 00022 // permission. 00023 // 00024 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00025 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00026 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00027 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00028 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00029 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00030 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00031 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00032 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00033 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 00034 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00035 // POSSIBILITY OF SUCH DAMAGE. 00036 // 00038 00040 #ifndef FEAPI_HOST_UTILS_HEADER_H 00041 #define FEAPI_HOST_UTILS_HEADER_H 00042 00043 00044 #include "FEAPI.h" // Feature Extraction plugin API 00045 #include "FEAPIHostDeclarations.h" // some declarations 00046 00055 FEAPI_Error_t GetFunctionPointers (FEAPI_ModuleHandle_t hModule, FEAPI_PluginFunctions_t *pstPluginFunctions); 00056 00064 int FindPlugins (FEAPI_PluginFileNames_t *pstFileNames); 00065 00074 FEAPI_Error_t LoadPluginModule (const char *pcFilename,FEAPI_ModuleHandle_t *phModule); 00075 00083 FEAPI_Error_t UnloadPluginModule (FEAPI_ModuleHandle_t hModule); 00084 00085 #endif //FEAPI_HOST_UTILS_HEADER_H