mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
8677721e85
- rip all Gtk code from qt-gui.cpp - don't compile Gtk specific files - don't link against Gtk libraries - don't compile modules we don't use at all (yet) - use #if USE_GTK_UI on the remaining files to disable Gtk related parts - disable the non-functional Cochran support while I'm at it Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
30 lines
706 B
C
30 lines
706 B
C
#ifndef LIBDIVECOMPUTER_H
|
|
#define LIBDIVECOMPUTER_H
|
|
|
|
/* libdivecomputer */
|
|
#include <libdivecomputer/device.h>
|
|
#include <libdivecomputer/parser.h>
|
|
|
|
/* handling uemis Zurich SDA files */
|
|
#include "uemis.h"
|
|
|
|
/* don't forget to include the UI toolkit specific display-XXX.h first
|
|
to get the definition of progressbar_t */
|
|
typedef struct device_data_t {
|
|
dc_descriptor_t *descriptor;
|
|
const char *vendor, *product, *devname;
|
|
const char *model;
|
|
unsigned int deviceid, diveid;
|
|
dc_device_t *device;
|
|
dc_context_t *context;
|
|
int preexisting;
|
|
gboolean force_download;
|
|
#if USE_GTK_UI
|
|
progressbar_t progress;
|
|
GtkDialog *dialog;
|
|
#endif
|
|
} device_data_t;
|
|
|
|
extern GError *do_import(device_data_t *data);
|
|
|
|
#endif
|