mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Moved the 'create fake dc' to it's own function in device.c
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
bd8470ebcf
commit
3eac2360e7
3 changed files with 32 additions and 20 deletions
2
device.h
2
device.h
|
@ -2,6 +2,7 @@
|
|||
#define DEVICE_INFO_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include "dive.h"
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
@ -20,6 +21,7 @@ extern struct device_info *get_different_device_info(const char *model, uint32_t
|
|||
extern struct device_info *create_device_info(const char *model, uint32_t deviceid);
|
||||
extern struct device_info *remove_device_info(const char *model, uint32_t deviceid);
|
||||
extern struct device_info *head_of_device_info_list(void);
|
||||
extern struct divecomputer *fake_dc(struct divecomputer* dc);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue