1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Code formatting

This commit is contained in:
Bertrand Songis 2016-03-05 15:44:42 +01:00
parent 8e2c280e4a
commit 3b8c5bbeb1
10 changed files with 2627 additions and 2751 deletions

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include "gtests.h" #include "gtests.h"

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include "gtests.h" #include "gtests.h"

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include "gtests.h" #include "gtests.h"

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include <QtGui/QApplication> #include <QtGui/QApplication>

View file

@ -1,5 +1,25 @@
#ifndef __GTESTS_H /*
#define __GTESTS_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _GTESTS_H_
#define _GTESTS_H_
#include <QtCore/QString> #include <QtCore/QString>
#include <math.h> #include <math.h>
@ -71,4 +91,4 @@ inline void TELEMETRY_RESET()
bool checkScreenshot(QString test); bool checkScreenshot(QString test);
#endif #endif // _GTESTS_H_

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include <QtCore/QDir> #include <QtCore/QDir>

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include <math.h> #include <math.h>

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include "gtests.h" #include "gtests.h"

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include "gtests.h" #include "gtests.h"

View file

@ -1,27 +1,12 @@
/* /*
* Authors (alphabetical order) * Copyright (C) OpenTX
* - Andre Bernet <bernet.andre@gmail.com>
* - Andreas Weitl
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
* - Cameron Weeks <th9xer@gmail.com>
* - Erez Raviv
* - Gabriel Birkus
* - Jean-Pierre Parisy
* - Karl Szmutny
* - Michael Blandford
* - Michal Hlavinka
* - Pat Mackenzie
* - Philip Moss
* - Rob Thomson
* - Romolo Manfredini <romolo.manfredini@gmail.com>
* - Thomas Husterer
* *
* opentx is based on code named * Based on code named
* gruvin9x by Bryan J. Rentoul: http://code.google.com/p/gruvin9x/, * th9x - http://code.google.com/p/th9x
* er9x by Erez Raviv: http://code.google.com/p/er9x/, * er9x - http://code.google.com/p/er9x
* and the original (and ongoing) project by * gruvin9x - http://code.google.com/p/gruvin9x
* Thomas Husterer, th9x: http://code.google.com/p/th9x/ *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -31,7 +16,6 @@
* 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include "gtests.h" #include "gtests.h"