Fix incorrect spelling of ones' and two's complement (Bug #642457)
[gcalctool.git] / src / math-preferences.h
blobbb6aa9694bfdecd9ea78d183a2f3417afe8a49df
1 /* Copyright (c) 2008-2009 Robert Ancell
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2, or (at your option)
6 * any later version.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
16 * 02111-1307, USA.
19 #ifndef MATH_PREFERENCES_H
20 #define MATH_PREFERENCES_H
22 #include <glib-object.h>
23 #include <gtk/gtk.h>
24 #include "math-equation.h"
26 G_BEGIN_DECLS
28 #define MATH_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), math_preferences_get_type(), MathPreferencesDialog))
30 typedef struct MathPreferencesDialogPrivate MathPreferencesDialogPrivate;
32 typedef struct
34 GtkDialog parent_instance;
35 MathPreferencesDialogPrivate *priv;
36 } MathPreferencesDialog;
38 typedef struct
40 GtkDialogClass parent_class;
41 } MathPreferencesDialogClass;
43 GType math_preferences_get_type(void);
45 MathPreferencesDialog *math_preferences_dialog_new(MathEquation *equation);
47 G_END_DECLS
49 #endif /* MATH_PREFERENCES_H */