BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / deskcalc / CalcOptions.h
blob135d4a13bf627d4d5a69af7c3ac196a48cd983b9
1 /*
2 * Copyright 2006-2012 Haiku, Inc. All Rights Reserved.
3 * Copyright 1997, 1998 R3 Software Ltd. All Rights Reserved.
4 * Distributed under the terms of the MIT License.
6 * Authors:
7 * Stephan Aßmus, superstippi@gmx.de
8 * John Scipione, jscipione@gmail.com
9 * Timothy Wayper, timmy@wunderbear.com
11 #ifndef CALC_OPTIONS_H
12 #define CALC_OPTIONS_H
15 #include <SupportDefs.h>
18 enum {
19 KEYPAD_MODE_COMPACT,
20 KEYPAD_MODE_BASIC,
21 KEYPAD_MODE_SCIENTIFIC
24 class BMessage;
26 struct CalcOptions {
27 bool auto_num_lock; // automatically activate numlock
28 bool audio_feedback; // provide audio feedback
29 bool degree_mode; // radian or degree mode
30 uint8 keypad_mode; // keypad mode options
32 CalcOptions();
34 void LoadSettings(const BMessage* archive);
35 status_t SaveSettings(BMessage* archive) const;
38 #endif // CALC_OPTIONS_H