mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Have some C++ file in the project
Rename gtk-gui.c to qt-gui.cpp, and make the necessary changes so that the project still builds. Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
This commit is contained in:
parent
42365ede79
commit
578d633d01
13 changed files with 124 additions and 65 deletions
8
device.h
8
device.h
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef DEVICE_INFO_H
|
||||
#define DEVICE_INFO_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct device_info {
|
||||
const char *model;
|
||||
uint32_t deviceid;
|
||||
|
|
@ -17,4 +21,8 @@ extern struct device_info *create_device_info(const char *model, uint32_t device
|
|||
extern struct device_info *remove_device_info(const char *model, uint32_t deviceid);
|
||||
extern struct device_info *head_of_device_info_list(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue