Rev 750 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
674 | KeyOz | 1 | /*************************************************************************** |
2 | * Copyright (C) 2008 by Manuel Schrape * |
||
3 | * manuel.schrape@gmx.de * |
||
4 | * * |
||
5 | * This program is free software; you can redistribute it and/or modify * |
||
6 | * it under the terms of the GNU General Public License as published by * |
||
7 | * the Free Software Foundation; either version 2 of the License. * |
||
8 | * * |
||
9 | * This program is distributed in the hope that it will be useful, * |
||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
12 | * GNU General Public License for more details. * |
||
13 | * * |
||
14 | * You should have received a copy of the GNU General Public License * |
||
15 | * along with this program; if not, write to the * |
||
16 | * Free Software Foundation, Inc., * |
||
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
18 | ***************************************************************************/ |
||
19 | #ifndef CSETTINGS_H |
||
20 | #define CSETTINGS_H |
||
21 | |||
22 | #include <QBitArray> |
||
23 | #include <QSize> |
||
24 | #include <QPoint> |
||
25 | |||
26 | #include "../../Global/Kopter.h" |
||
27 | #include "../Defines.h" |
||
28 | |||
29 | struct set_DebugData |
||
30 | { |
||
31 | QString Version; |
||
32 | QString Label[MAX_DebugData]; |
||
33 | QBitArray Show_Plotter; |
||
34 | }; |
||
35 | |||
36 | struct set_GUI |
||
37 | { |
||
38 | bool isMax; |
||
39 | QSize Size; |
||
40 | QPoint Point; |
||
41 | }; |
||
42 | |||
43 | struct set_DATA |
||
44 | { |
||
45 | int Plotter_Count; |
||
46 | }; |
||
801 | - | 47 | |
674 | KeyOz | 48 | class cSettings |
49 | { |
||
50 | public: |
||
51 | cSettings(); |
||
52 | |||
53 | int Settings_ID; |
||
54 | |||
55 | set_GUI GUI; |
||
56 | set_DebugData DebugData; |
||
57 | set_DATA DATA; |
||
58 | |||
59 | void read_DebugLabels(int ID); |
||
60 | void write_DebugLabels(int ID); |
||
61 | |||
62 | void read_Settings(); |
||
63 | void write_Settings(); |
||
64 | |||
65 | |||
66 | }; |
||
67 | |||
68 | #endif // CSETTINGS_H |