-
Notifications
You must be signed in to change notification settings - Fork 1
/
defs.h
34 lines (28 loc) · 782 Bytes
/
defs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef DEFS_H
#define DEFS_H
#include <QString>
#include <QVector>
struct SessionGroup {
QString name;
int durationMins;
SessionGroup(QString n, int d) : name(n), durationMins(d) {}
};
struct SessionType {
QString name;
QString wavelength;
SessionType(QString n, QString w) : name(n), wavelength(w) {}
};
struct Therapy {
SessionGroup group;
SessionType type;
int intensity;
QString username;
Therapy(SessionGroup g, SessionType t, int i, QString u) : group(g), type(t), intensity(i), username(u) {}
};
struct UserDesignedSession {
QString name;
int durationMins;
QVector<SessionType*> types;
UserDesignedSession(QString n, int d, QVector<SessionType*> t) : name(n), durationMins(d), types(t){}
};
#endif // DEFS_H