1 /*$Id: globals.h,v 26.138 2013/04/24 02:32:27 al Exp $ -*- C++ -*-
2  * Copyright (C) 2007 Albert Davis
3  * Author: Albert Davis <aldavis@gnu.org>
4  *
5  * This file is part of "Gnucap", the Gnu Circuit Analysis Package
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20  * 02110-1301, USA.
21  *------------------------------------------------------------------
22  * declarations of globals that are exported to plugins
23  */
24 #include "l_dispatcher.h"
25 
26 extern const char*  lib_version();
27 
28 class CMD;
29 class COMMON_COMPONENT;
30 class MODEL_CARD;
31 class CARD;
32 class LANGUAGE;
33 class FUNCTION;
34 class CKT_BASE;
35 class PROBELIST;
36 
37 extern INTERFACE DISPATCHER<CMD> command_dispatcher;
38 extern INTERFACE DISPATCHER<COMMON_COMPONENT> bm_dispatcher;
39 extern INTERFACE DISPATCHER<MODEL_CARD> model_dispatcher;
40 extern INTERFACE DISPATCHER<CARD> device_dispatcher;
41 extern INTERFACE DISPATCHER<LANGUAGE> language_dispatcher;
42 extern INTERFACE DISPATCHER<FUNCTION> function_dispatcher;
43 extern INTERFACE DISPATCHER<FUNCTION> measure_dispatcher;
44 extern INTERFACE DISPATCHER<CKT_BASE> status_dispatcher;
45 extern INTERFACE DISPATCHER<CKT_BASE> help_dispatcher;
46 extern INTERFACE DISPATCHER<PROBELIST> probe_dispatcher;
47 extern INTERFACE std::string head;
48