Core: remove dive.h from files that don't need it

Of course, quite a few of them indirectly get it through other header
files.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-05-13 16:51:26 -07:00
parent be64f6f3c0
commit ea83b5ed37
39 changed files with 0 additions and 40 deletions

View file

@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "cloudstorage.h"
#include "pref.h"
#include "dive.h"
#include "helpers.h"
#include "core/subsurface-qt/SettingsObjectWrapper.h"
#include <QApplication>

View file

@ -10,7 +10,6 @@
#include <time.h>
#include "gettext.h"
#include "datatrak.h"
#include "dive.h"
#include "subsurface-string.h"
#include "units.h"
#include "device.h"

View file

@ -3,7 +3,6 @@
#define DEVICE_H
#ifdef __cplusplus
#include "dive.h"
extern "C" {
#endif

View file

@ -6,7 +6,6 @@
#include <stdlib.h>
#include <limits.h>
#include "gettext.h"
#include "dive.h"
#include "subsurface-string.h"
#include "libdivecomputer.h"
#include "device.h"

View file

@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include "divecomputer.h"
#include "dive.h"
#include "subsurface-string.h"
#include "subsurface-qt/SettingsObjectWrapper.h"

View file

@ -6,7 +6,6 @@
#include <QHash>
#include <QLoggingCategory>
#include "dive.h"
#include "libdivecomputer.h"
#include "connectionlistmodel.h"
#if BT_SUPPORT

View file

@ -16,7 +16,6 @@
#include <fcntl.h>
#include <git2.h>
#include "dive.h"
#include "subsurface-string.h"
#include "membuffer.h"
#include "strndup.h"

View file

@ -2,7 +2,6 @@
#include "core/gpslocation.h"
#include "qt-models/gpslistmodel.h"
#include "core/pref.h"
#include "core/dive.h"
#include "core/helpers.h"
#include <time.h>
#include <unistd.h>

View file

@ -9,7 +9,6 @@
#define HELPERS_H
#include <QString>
#include "dive.h"
#include "qthelper.h"
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);

View file

@ -2,7 +2,6 @@
#ifndef DIVE_QOBJECT_H
#define DIVE_QOBJECT_H
#include "../dive.h"
#include "CylinderObjectHelper.h"
#include <QObject>
#include <QString>

View file

@ -12,7 +12,6 @@
#include "gettext.h"
#include "dive.h"
#include "uemis.h"
#include <libdivecomputer/parser.h>
#include <libdivecomputer/version.h>

View file

@ -9,7 +9,6 @@
#include <string.h>
#include <stdio.h>
#include "dive.h"
#include "membuffer.h"
#include "save-html.h"
#include "worldmap-save.h"