mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Put include guard to every header
* ensure include guard to every header * comment endif guard block Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a3d82bf9b1
commit
ccb1c33d02
54 changed files with 78 additions and 66 deletions
|
|
@ -17,4 +17,4 @@ private:
|
|||
Ui::SubsurfaceAbout ui;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // ABOUT_H
|
||||
|
|
|
|||
|
|
@ -33,4 +33,4 @@ public:
|
|||
void updateModel();
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // COMPLETIONMODELS_H
|
||||
|
|
|
|||
|
|
@ -25,4 +25,4 @@ private:
|
|||
DiveComputerModel *model;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVECOMPUTERMANAGEMENTDIALOG_H
|
||||
|
|
|
|||
|
|
@ -241,4 +241,4 @@ private:
|
|||
Ui::DivePlanner ui;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVEPLANNER_H
|
||||
|
|
|
|||
|
|
@ -78,4 +78,4 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DOWNLOADFROMDIVECOMPUTER_H
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#ifndef __EXIF_H
|
||||
#define __EXIF_H
|
||||
#ifndef EXIF_H
|
||||
#define EXIF_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
@ -140,4 +140,4 @@ class EXIFInfo {
|
|||
// EXIF header was found, but data was corrupted.
|
||||
#define PARSE_EXIF_ERROR_CORRUPT 1985
|
||||
|
||||
#endif
|
||||
#endif // EXIF_H
|
||||
|
|
|
|||
|
|
@ -39,4 +39,4 @@ public slots:
|
|||
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // GLOBE_H
|
||||
|
|
|
|||
|
|
@ -43,4 +43,4 @@ struct text_render_options {
|
|||
};
|
||||
|
||||
typedef text_render_options text_render_options_t;
|
||||
#endif
|
||||
#endif // GRAPHICSVIEW_COMMON_H
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __GROUPEDLINEEDIT_H__
|
||||
#define __GROUPEDLINEEDIT_H__
|
||||
#ifndef GROUPEDLINEEDIT_H
|
||||
#define GROUPEDLINEEDIT_H
|
||||
|
||||
#include <QPlainTextEdit>
|
||||
#include <QStringList>
|
||||
|
|
@ -69,4 +69,4 @@ private:
|
|||
struct Private;
|
||||
Private *d;
|
||||
};
|
||||
#endif
|
||||
#endif // GROUPEDLINEEDIT_H
|
||||
|
|
|
|||
|
|
@ -236,4 +236,4 @@ public:
|
|||
int bestContentHeight() const;
|
||||
};
|
||||
|
||||
#endif /* KMESSAGEWIDGET_H */
|
||||
#endif // KMESSAGEWIDGET_H
|
||||
|
|
|
|||
|
|
@ -114,4 +114,4 @@ private:
|
|||
void updateGpsCoordinates(const struct dive *dive);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // MAINTAB_H
|
||||
|
|
|
|||
|
|
@ -148,4 +148,4 @@ private:
|
|||
|
||||
MainWindow *mainWindow();
|
||||
|
||||
#endif
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
|
|||
|
|
@ -79,4 +79,4 @@ public:
|
|||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // MODELDELEGATES_H
|
||||
|
|
|
|||
|
|
@ -325,4 +325,4 @@ private:
|
|||
|
||||
QStringList languages;
|
||||
};
|
||||
#endif
|
||||
#endif // MODELS_H
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef PREFERENCES_DIALOG_H
|
||||
#define PREFERENCES_DIALOG_H
|
||||
#ifndef PREFERENCES_H
|
||||
#define PREFERENCES_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "../dive.h"
|
||||
|
|
@ -34,4 +34,4 @@ private:
|
|||
struct preferences oldPrefs;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PREFERENCES_H
|
||||
|
|
|
|||
|
|
@ -29,4 +29,4 @@ private slots:
|
|||
void onPaintRequested(QPrinter *);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PRINTDIALOG_H
|
||||
|
|
|
|||
|
|
@ -46,4 +46,4 @@ signals:
|
|||
void signalProgress(int);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PRINTLAYOUT_H
|
||||
|
|
|
|||
|
|
@ -36,4 +36,4 @@ private slots:
|
|||
void profileOnTopClicked(bool check);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PRINTOPTIONS_H
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ namespace Animations{
|
|||
void animDelete(QObject *obj);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // ANIMATIONFUNCTIONS_H
|
||||
|
|
|
|||
|
|
@ -115,4 +115,4 @@ private:
|
|||
qreal verticalSize;
|
||||
qreal horizontalSize;
|
||||
};
|
||||
#endif
|
||||
#endif // DIVECARTESIANAXIS_H
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ private:
|
|||
struct event* internalEvent;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVEEVENTITEM_H
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ public:
|
|||
void animateMoveTo(qreal x, qreal y);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVELINEITEM_H
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ public:
|
|||
DivePixmapItem(QObject* parent = 0);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVEPIXMAPITEM_H
|
||||
|
|
|
|||
|
|
@ -36,4 +36,4 @@ private:
|
|||
int dcNr;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVEPLOTDATAMODEL_H
|
||||
|
|
|
|||
|
|
@ -158,4 +158,4 @@ private:
|
|||
QColor normalColor;
|
||||
QColor alertColor;
|
||||
};
|
||||
#endif
|
||||
#endif // DIVEPROFILEITEM_H
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ public:
|
|||
DiveRectItem(QObject *parent = 0, QGraphicsItem *parentItem = 0);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVERECTITEM_H
|
||||
|
|
|
|||
|
|
@ -29,4 +29,4 @@ private:
|
|||
QBrush brush;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVETEXTITEM_H
|
||||
|
|
|
|||
|
|
@ -58,4 +58,4 @@ private:
|
|||
plot_info pInfo;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // DIVETOOLTIPITEM_H
|
||||
|
|
|
|||
|
|
@ -99,4 +99,4 @@ private:
|
|||
PartialPressureGasItem *po2GasItem;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PROFILEWIDGET2_H
|
||||
|
|
|
|||
|
|
@ -172,4 +172,4 @@ private:
|
|||
enum Mode mode;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // PROFILEGRAPHICS_H
|
||||
|
|
|
|||
|
|
@ -69,4 +69,4 @@ private:
|
|||
|
||||
bool isGnome3Session();
|
||||
|
||||
#endif
|
||||
#endif // SIMPLEWIDGETS_H
|
||||
|
|
|
|||
|
|
@ -91,4 +91,4 @@ private:
|
|||
bool uploadMode;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // SUBSURFACEWEBSERVICES_H
|
||||
|
|
|
|||
|
|
@ -41,4 +41,4 @@ private:
|
|||
QPushButton *plusBtn;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // TABLEVIEW_H
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __TAGWIDGET_H
|
||||
#define __TAGWIDGET_H
|
||||
#ifndef TAGWIDGET_H
|
||||
#define TAGWIDGET_H
|
||||
|
||||
#include "groupedlineedit.h"
|
||||
#include <QCompleter>
|
||||
|
|
@ -26,4 +26,4 @@ private:
|
|||
QCompleter *m_completer;
|
||||
};
|
||||
|
||||
#endif /* __TAGWIDGET_H */
|
||||
#endif // TAGWIDGET_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue