Skip to content

Commit

Permalink
Main: fix header uniformity + trailing whitespace
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
luzpaz authored and abdullahtahiriyo committed Dec 12, 2020
1 parent cb58706 commit c4b1ec0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Main/FreeCADGuiPy.cpp
Expand Up @@ -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"},
Expand Down
4 changes: 2 additions & 2 deletions src/Main/MainCmd.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
* (c) Jürgen Riegel (juergen.riegel@web.de) 2008 *
* Copyright (c) 2008 Jürgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
Expand All @@ -19,8 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
* USA *
* *
* Juergen Riegel 2002 *
***************************************************************************/

#include "../FCConfig.h"

#ifdef _PreComp_
Expand Down
12 changes: 6 additions & 6 deletions src/Main/MainGui.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
* (c) Jürgen Riegel (juergen.riegel@web.de) 2008 *
* Copyright (c) 2008 Jürgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
Expand All @@ -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 <FCConfig.h>

#ifdef _PreComp_
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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());
Expand Down
4 changes: 2 additions & 2 deletions src/Main/MainPy.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
* (c) Juergen Riegel (juergen.riegel@web.de) 2008 *
* Copyright (c) 2008 Jürgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
Expand All @@ -19,8 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
* USA *
* *
* Juergen Riegel 2002 *
***************************************************************************/

#include <FCConfig.h>

#ifdef _PreComp_
Expand Down
9 changes: 6 additions & 3 deletions 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

*/

0 comments on commit c4b1ec0

Please sign in to comment.