From dc2416807fe7111ae5efcecab32e7512918fe2c5 Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Wed, 8 Aug 2001 17:51:14 +0000 Subject: [PATCH] *** empty log message *** --- Box/Main.cpp | 6 +++++- Box/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Box/Main.cpp b/Box/Main.cpp index bdcc4789e3..a6c7d0f763 100644 --- a/Box/Main.cpp +++ b/Box/Main.cpp @@ -1,4 +1,4 @@ -// $Id: Main.cpp,v 1.6 2001-08-08 15:36:09 remacle Exp $ +// $Id: Main.cpp,v 1.7 2001-08-08 17:51:14 remacle Exp $ #include <signal.h> #include "ParUtil.h" @@ -8,6 +8,7 @@ #include <sys/resource.h> #endif +#include "PluginManager.h" #include "Gmsh.h" #include "GmshVersion.h" #include "Const.h" @@ -91,6 +92,9 @@ int main(int argc, char *argv[]){ signal(SIGSEGV, Signal); signal(SIGFPE, Signal); + if(CTX.default_plugins) + GMSH_PluginManager::Instance()->RegisterDefaultPlugins(); + OpenProblem(CTX.filename); if(yyerrorstate) ParUtil::Instance()->Abort(); diff --git a/Box/Makefile b/Box/Makefile index 56ce1e3eb5..277f16c45d 100644 --- a/Box/Makefile +++ b/Box/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.8 2001-08-08 15:36:09 remacle Exp $ +# $Id: Makefile,v 1.9 2001-08-08 17:51:14 remacle Exp $ # # Makefile for "libBox.a" # @@ -11,7 +11,7 @@ RM = rm RANLIB = ranlib LIB = ../lib/libBox.a INCLUDE = -I../Common -I../DataStr -I../Geo\ - -I../Graphics -I../Mesh -I../Parser -I../Motif -I../Fltk -I../Parallel + -I../Graphics -I../Mesh -I../Parser -I../Motif -I../Fltk -I../Plugin -I../Parallel C_FLAGS = -g OS_FLAGS = -- GitLab