* Copyright 2006-2012 Haiku, Inc. All Rights Reserved.
* Copyright 1997, 1998 R3 Software Ltd. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus, superstippi@gmx.de
* John Scipione, jscipione@gmail.com
* Timothy Wayper, timmy@wunderbear.com
*/
#ifndef CALC_OPTIONS_H
#define CALC_OPTIONS_H
#include <SupportDefs.h>
enum {
KEYPAD_MODE_COMPACT,
KEYPAD_MODE_BASIC,
KEYPAD_MODE_SCIENTIFIC
};
class BMessage;
struct CalcOptions {
bool auto_num_lock;
bool audio_feedback;
bool degree_mode;
uint8 keypad_mode;
CalcOptions();
void LoadSettings(const BMessage* archive);
status_t SaveSettings(BMessage* archive) const;
};
#endif