diff --git a/Post/PViewFactory.cpp b/Post/PViewFactory.cpp index 03029d510e9a33374711f29f4babbe1a476c062e..1da58147b2555cff70ce3b47b7bdc9a3bab36c3b 100644 --- a/Post/PViewFactory.cpp +++ b/Post/PViewFactory.cpp @@ -1,3 +1,8 @@ +// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle +// +// See the LICENSE.txt file for license information. Please report all +// bugs and problems to <gmsh@geuz.org>. + #include "PViewFactory.h" #include "GModel.h" #include "fullMatrix.h" @@ -5,7 +10,9 @@ #include <vector> #include "Bindings.h" -PViewFactory::PViewFactory (std::string name, std::string type, GModel *model, int timeStep, int dim):_model(model),_name(name),_type(type),_timeStep(timeStep), _dim(dim) +PViewFactory::PViewFactory (std::string name, std::string type, GModel *model, + int timeStep, int dim) + : _model(model), _name(name), _type(type), _timeStep(timeStep), _dim(dim) { } diff --git a/Post/PViewFactory.h b/Post/PViewFactory.h index 3502d27e4ef1b778f4f0ba211bdaaf04187e115e..000b26cff1286ea42f7309aff1f8350591a5c189 100644 --- a/Post/PViewFactory.h +++ b/Post/PViewFactory.h @@ -1,11 +1,18 @@ +// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle +// +// See the LICENSE.txt file for license information. Please report all +// bugs and problems to <gmsh@geuz.org>. + #ifndef _PVIEW_FACTORY_H_ #define _PVIEW_FACTORY_H_ -//quick hack to have something that we can bind for the summer school... -//this class has probably to be removed or rewritten + +// quick hack to have something that we can bind for the summer +// school... this class has probably to be removed or rewritten #include<map> #include<vector> #include<string> + class GModel; class PView; template <class t> @@ -23,4 +30,5 @@ class PViewFactory { PView *createView(); static void registerBindings(binding *); }; + #endif