From c4b1ec01baed0a6e2698fc2f8d6557193f6b15df Mon Sep 17 00:00:00 2001 From: luz paz Date: Fri, 11 Dec 2020 07:53:41 -0500 Subject: [PATCH] Main: fix header uniformity + trailing whitespace [skip ci] --- src/Main/FreeCADGuiPy.cpp | 2 +- src/Main/MainCmd.cpp | 4 ++-- src/Main/MainGui.cpp | 12 ++++++------ src/Main/MainPy.cpp | 4 ++-- src/Main/core-main.dox | 9 ++++++--- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/Main/FreeCADGuiPy.cpp b/src/Main/FreeCADGuiPy.cpp index 0fd4dd6653..f82254c5b8 100644 --- a/src/Main/FreeCADGuiPy.cpp +++ b/src/Main/FreeCADGuiPy.cpp @@ -254,7 +254,7 @@ FreeCADGui_embedToWindow(PyObject * /*self*/, PyObject *args) return Py_None; } -struct PyMethodDef FreeCADGui_methods[] = { +struct PyMethodDef FreeCADGui_methods[] = { {"showMainWindow",FreeCADGui_showMainWindow,METH_VARARGS, "showMainWindow() -- Show the main window\n" "If no main window does exist one gets created"}, diff --git a/src/Main/MainCmd.cpp b/src/Main/MainCmd.cpp index 3a70c5132d..e59b734a39 100644 --- a/src/Main/MainCmd.cpp +++ b/src/Main/MainCmd.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * (c) Jürgen Riegel (juergen.riegel@web.de) 2008 * + * Copyright (c) 2008 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * * USA * * * - * Juergen Riegel 2002 * ***************************************************************************/ + #include "../FCConfig.h" #ifdef _PreComp_ diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp index e0a92e4e68..411d39ddcc 100644 --- a/src/Main/MainGui.cpp +++ b/src/Main/MainGui.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * (c) Jürgen Riegel (juergen.riegel@web.de) 2008 * + * Copyright (c) 2008 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * @@ -10,17 +10,17 @@ * for detail see the LICENCE text file. * * * * FreeCAD is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU Library General Public License for more details. * * * * You should have received a copy of the GNU Library General Public * - * License along with FreeCAD; if not, write to the Free Software * + * License along with FreeCAD; if not, write to the Free Software * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * * USA * * * - * Juergen Riegel 2002 * ***************************************************************************/ + #include #ifdef _PreComp_ @@ -196,7 +196,7 @@ int main( int argc, char ** argv ) App::Application::Config()["Console"] = "0"; App::Application::Config()["LoggingConsole"] = "1"; - // Inits the Application + // Inits the Application #if defined (FC_OS_WIN32) App::Application::init(argc_, argv_.data()); #else @@ -326,7 +326,7 @@ int main( int argc, char ** argv ) // Destruction phase =========================================================== Base::Console().Log("%s terminating...\n",App::Application::Config()["ExeName"].c_str()); - // cleans up + // cleans up App::Application::destruct(); Base::Console().Log("%s completely terminated\n",App::Application::Config()["ExeName"].c_str()); diff --git a/src/Main/MainPy.cpp b/src/Main/MainPy.cpp index d746e58832..88f3b6e5e2 100644 --- a/src/Main/MainPy.cpp +++ b/src/Main/MainPy.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * (c) Juergen Riegel (juergen.riegel@web.de) 2008 * + * Copyright (c) 2008 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * @@ -19,8 +19,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * * USA * * * - * Juergen Riegel 2002 * ***************************************************************************/ + #include #ifdef _PreComp_ diff --git a/src/Main/core-main.dox b/src/Main/core-main.dox index fa4bafaa45..7b6cfffcf4 100644 --- a/src/Main/core-main.dox +++ b/src/Main/core-main.dox @@ -1,4 +1,7 @@ -/** \defgroup MAIN Global application level - * \ingroup CORE - * \brief The Main classes define general application settings +/** \defgroup MAIN Global application level + * \ingroup CORE + * \brief The Main classes define general application settings + +See \ref src/Mod/Draft/draft.dox as an example of how to populate this page + */