mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use Registry on Windows to store preferences
No change at all to non-Windows builds. Everything seems to work with preferences - but only tested on Win7 Remaining issue: displaying an icon (or the logo in the About dialog) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bf7d70fe8b
commit
2101f37c1b
3 changed files with 77 additions and 0 deletions
4
dive.h
4
dive.h
|
@ -187,6 +187,10 @@ struct dive {
|
|||
* the input and output may come in some random format. This
|
||||
* keeps track of those units.
|
||||
*/
|
||||
/* turns out in Win32 PASCAL is defined as a calling convention */
|
||||
#ifdef WIN32
|
||||
#undef PASCAL
|
||||
#endif
|
||||
struct units {
|
||||
enum { METERS, FEET } length;
|
||||
enum { LITER, CUFT } volume;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue