plugin_factory.cpp
来自「ncbi源码」· C++ 代码 · 共 137 行
CPP
137 行
/* * =========================================================================== * PRODUCTION $Log: plugin_factory.cpp,v $ * PRODUCTION Revision 1000.1 2004/06/01 20:44:21 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.18 * PRODUCTION * =========================================================================== *//* $Id: plugin_factory.cpp,v 1000.1 2004/06/01 20:44:21 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Authors: Mike DiCuccio * * File Description: * */#include <ncbi_pch.hpp>#include <gui/core/doc_manager.hpp>#include <gui/core/plugin_exception.hpp>#include <gui/core/plugin_factory.hpp>#include <gui/core/plugin_registry.hpp>#include <gui/plugin/PluginArgSet.hpp>#include <gui/plugin/PluginInfo.hpp>#include <gui/utils/message_box.hpp>#include <gui/core/idocument.hpp>BEGIN_NCBI_SCOPE// virtual destructorCPluginFactoryBase::~CPluginFactoryBase(){}END_NCBI_SCOPE/* * =========================================================================== * $Log: plugin_factory.cpp,v $ * Revision 1000.1 2004/06/01 20:44:21 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.18 * * Revision 1.18 2004/05/21 22:27:40 gorelenk * Added PCH ncbi_pch.hpp * * Revision 1.17 2003/10/27 17:37:23 dicuccio * Removed dead #includes * * Revision 1.16 2003/09/04 14:01:51 dicuccio * Introduce IDocument and IView as abstract base classes for CDocument and CView * * Revision 1.15 2003/07/14 11:00:44 shomrat * Plugin messageing system related changes * * Revision 1.14 2003/06/25 17:02:54 dicuccio * Split CPluginHandle into a handle (pointer-to-implementation) and * implementation file. Lots of #include file clean-ups. * * Revision 1.13 2003/06/20 14:47:41 dicuccio * Revised handling of plugin registration (moved GetInfo() out of plugin factory * and into each handler as a static function) * * Revision 1.12 2003/05/30 14:15:41 dicuccio * Renamed MessageBox to NcbiMessageBox because brain-dead MSVC thinks this is * ::MessageBox and rewrites the symbol as MessageBoxA, which results in an * unresolved external and conflict with the Win32 API :(. * * Revision 1.11 2003/05/30 12:56:50 dicuccio * Converted code to use MessageBox() instead of fl_ask()/fl_message()/fl_alert() * * Revision 1.10 2003/05/19 13:35:59 dicuccio * Moved gui/core/plugin/ -> gui/plugin/. Merged gui/core/algo, gui/core/doc/, * and gui/core/view/ into one library (gui/core/) * * Revision 1.9 2003/05/12 15:59:20 dicuccio * Cleaned up specification and launching of plugins - use a unified plugin launch * specifier * * Revision 1.8 2003/05/07 17:27:20 dicuccio * Implemented launching of algorithm plugin with data specified in plugin reply * * Revision 1.7 2003/04/29 14:40:47 dicuccio * Sorted include statements * * Revision 1.6 2003/04/24 16:29:13 dicuccio * Remember to update all doc manager views on creating a view * * Revision 1.5 2003/04/16 18:20:15 dicuccio * Changed plugin command retrieval function * * Revision 1.4 2003/03/13 18:15:13 dicuccio * Added standard handler for plugin reply actions (view action is currently the * only action handled) * * Revision 1.3 2003/02/28 15:06:22 dicuccio * Made help file an optional component of the info class * * Revision 1.2 2003/02/24 13:03:15 dicuccio * Renamed classes in plugin spec: * CArgSeg --> CPluginArgSet * CArgument --> CPluginArg * CPluginArgs --> CPluginCommand * CPluginCommands --> CPluginCommandSet * * Revision 1.1 2003/02/20 19:49:56 dicuccio * Created new plugin architecture, based on ASN.1 spec. Moved GBENCH frameowrk * over to use new plugin architecture. * * =========================================================================== */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?