haiku/src/apps/deskcalc/CalcOptions.h
John Scipione 593808d96a Return authors name's to DeskCalc headers.
No functional change.

* Surround email addresses in angle brackets.
* Add myself to ExpressionParser.cpp and .h
* Remove myself from ExpressionTextView.cpp and .h
* Alphatetize authors by last name.

Thanks Ingo and Axel.
2012-08-03 11:16:23 -04:00

39 lines
841 B
C++

/*
* 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; // automatically activate numlock
bool audio_feedback; // provide audio feedback
bool degree_mode; // radian or degree mode
uint8 keypad_mode; // keypad mode options
CalcOptions();
void LoadSettings(const BMessage* archive);
status_t SaveSettings(BMessage* archive) const;
};
#endif // CALC_OPTIONS_H