Tulip
4.6.0
Better Visualization Through Research
|
00001 /* 00002 * 00003 * This file is part of Tulip (www.tulip-software.org) 00004 * 00005 * Authors: David Auber and the Tulip development Team 00006 * from LaBRI, University of Bordeaux 00007 * 00008 * Tulip is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU Lesser General Public License 00010 * as published by the Free Software Foundation, either version 3 00011 * of the License, or (at your option) any later version. 00012 * 00013 * Tulip is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 * See the GNU General Public License for more details. 00017 * 00018 */ 00019 00020 #ifndef TLP_PLUGINLOADERTXT 00021 #define TLP_PLUGINLOADERTXT 00022 #include <tulip/PluginLoader.h> 00023 00024 namespace tlp { 00025 00026 /** 00027 * @ingroup Plugins 00028 * @brief A simple implementation of tlp::PluginLoader to display load state into the console 00029 */ 00030 struct TLP_SCOPE PluginLoaderTxt:public PluginLoader { 00031 virtual void start(const std::string &path); 00032 virtual void loading(const std::string &filename); 00033 virtual void loaded(const Plugin* infos, const std::list <Dependency>&); 00034 virtual void aborted(const std::string &filename,const std::string &erreurmsg); 00035 virtual void finished(bool state,const std::string &msg); 00036 }; 00037 00038 } 00039 #endif