mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: Remove unused components from build.
Remove import / export components that are not supported in the mobile version from the mobild build. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
972b7a0643
commit
bbff369bf2
4 changed files with 17 additions and 22 deletions
11
core/file.h
11
core/file.h
|
|
@ -13,10 +13,17 @@
|
|||
struct divelog;
|
||||
struct zip;
|
||||
|
||||
#if !defined(SUBSURFACE_MOBILE)
|
||||
extern int ostctools_import(std::string &buffer, struct divelog *log);
|
||||
extern int divesoft_import(const std::string &buffer, struct divelog *log);
|
||||
extern int logtrak_import(const std::string &mem, struct divelog *log);
|
||||
extern int scubapro_asd_import(const std::string &mem, struct divelog *log);
|
||||
extern int fit_file_import(const std::string &buffer, struct divelog *log);
|
||||
|
||||
extern int try_to_open_cochran(const char *filename, std::string &mem, struct divelog *log);
|
||||
extern int try_to_open_liquivision(const char *filename, std::string &mem, struct divelog *log);
|
||||
#endif
|
||||
|
||||
extern int parse_file(const char *filename, struct divelog *log);
|
||||
extern int try_to_open_zip(const char *filename, struct divelog *log);
|
||||
|
||||
|
|
@ -31,10 +38,6 @@ extern int subsurface_stat(const char *path, struct stat *buf);
|
|||
extern struct zip *subsurface_zip_open_readonly(const char *path, int flags, int *errorp);
|
||||
extern int subsurface_zip_close(struct zip *zip);
|
||||
extern std::pair<std::string, int> readfile(const char *filename); // return data, errorcode pair.
|
||||
extern int try_to_open_cochran(const char *filename, std::string &mem, struct divelog *log);
|
||||
extern int try_to_open_liquivision(const char *filename, std::string &mem, struct divelog *log);
|
||||
extern int datatrak_import(std::string &mem, std::string &wl_mem, struct divelog *log);
|
||||
extern int logtrak_import(const std::string &mem, struct divelog *log);
|
||||
extern int scubapro_asd_import(const std::string &mem, struct divelog *log);
|
||||
|
||||
#endif // FILE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue