Subversion Repositories Projects

Rev

Rev 158 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 158 Rev 162
Line 19... Line 19...
19
#ifndef CSETTINGS_H
19
#ifndef CSETTINGS_H
20
#define CSETTINGS_H
20
#define CSETTINGS_H
Line 21... Line 21...
21
 
21
 
Line -... Line 22...
-
 
22
#include "global.h"
-
 
23
 
-
 
24
struct set_TTY
-
 
25
{
-
 
26
    QString Port;
-
 
27
};
-
 
28
 
-
 
29
struct set_GUI
-
 
30
{
-
 
31
    bool   isMax;
-
 
32
    QSize  Size;
-
 
33
    QPoint Point;
-
 
34
    QBitArray TabViews;
-
 
35
    bool Term_Info;
-
 
36
    bool Term_Data;
-
 
37
    bool Term_Always;
-
 
38
};
-
 
39
 
-
 
40
struct set_DIR
-
 
41
{
-
 
42
    QString Logging;
-
 
43
    QString Parameter;
-
 
44
};
-
 
45
 
-
 
46
struct set_Analog
-
 
47
{
-
 
48
    QString   Label[MaxAnalog];
-
 
49
    QBitArray PlotView;
-
 
50
    QBitArray LogView;
22
#include "global.h"
51
};
23
 
52
 
24
class cSettings
53
class cSettings
25
{
54
{
26
public:
55
public:
Line -... Line 56...
-
 
56
    cSettings();
-
 
57
    ~cSettings();
27
    cSettings();
58
 
28
    ~cSettings();
59
    int Settings_ID;
29
 
-
 
30
    set_GUI GUI;
60
 
-
 
61
    set_GUI GUI;
Line 31... Line 62...
31
    set_DIR DIR;
62
    set_DIR DIR;
32
    set_Analog Analog[MaxAnalog];
63
    set_TTY TTY;
-
 
64
    set_Analog Analog1;
33
    set_TTY TTY;
65
 
34
 
66
    void read_Settings();
-
 
67
    void write_Settings();
35
    void read_Settings();
68
    void write_Settings_Analog(int ID = 0);
Line 36... Line 69...
36
    void write_Settings();
69
    void read_Settings_Analog(int ID = 0);