From 022c9550fb4fb667eb826143d12ddb9921878a13 Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Sun, 4 Mar 2001 22:58:01 +0000 Subject: [PATCH] Adding a line for plugins --- Fltk/Main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Fltk/Main.cpp b/Fltk/Main.cpp index 82555933d4..321cb73ad0 100644 --- a/Fltk/Main.cpp +++ b/Fltk/Main.cpp @@ -1,4 +1,4 @@ -// $Id: Main.cpp,v 1.18 2001-02-20 18:32:58 geuzaine Exp $ +// $Id: Main.cpp,v 1.19 2001-03-04 22:58:01 remacle Exp $ #include <signal.h> @@ -18,6 +18,7 @@ #include "GUI.h" #include "OpenFile.h" #include "GetOptions.h" +#include "Plugin.h" GUI *WID = NULL; @@ -45,6 +46,7 @@ int main(int argc, char *argv[]){ if(CTX.verbosity && CTX.terminal) fprintf(stderr, "%s, Version %.2f\n", gmsh_progname, GMSH_VERSION); + // Initialize the static Mesh M.Vertices = NULL ; @@ -123,6 +125,9 @@ int main(int argc, char *argv[]){ WID->check(); + // Register Default Plugins (in test ...) + GMSH_PluginManager::Instance()->RegisterDefaultPlugins(); + // Open project file OpenProblem(CTX.filename); -- GitLab