SynchroTime
session.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // Home Office
3 // Nürnberg, Germany
4 // E-Mail: sergej1@email.ua
5 //
6 // Copyright (C) 2020 free Project SynchroTime. All rights reserved.
7 //------------------------------------------------------------------------------
8 // Project SynchroTime: Command-line client for adjust the exact time and
9 // calibrating the RTC DS3231 module via the serial interface (UART).
10 //------------------------------------------------------------------------------
11 #ifndef SESSION_H
12 #define SESSION_H
13 
14 //------------------------------------------------------------------------------
15 // Includes
16 //------------------------------------------------------------------------------
17 #include <QObject>
18 #include "interface.h"
19 
20 //------------------------------------------------------------------------------
21 // Preprocessor
22 //------------------------------------------------------------------------------
23 
24 //------------------------------------------------------------------------------
25 // Enums
26 //------------------------------------------------------------------------------
27 
28 //------------------------------------------------------------------------------
29 // Types
30 //------------------------------------------------------------------------------
31 
32 //------------------------------------------------------------------------------
33 // Classes
34 //------------------------------------------------------------------------------
39 class Session : virtual public QObject
40 {
41  Q_OBJECT
42  Q_CLASSINFO("className", "Session")
43 
44 public:
45  Session( QObject *parent = 0 );
46  Session( QObject *parent, Interface *const interface );
47 
48  Interface *getInterface( void );
49 
50  void setInterface( Interface *const interface );
51 
52 private:
54 };
55 
56 #endif // SESSION_H
Interface * interface
Definition: session.h:53
Interface * getInterface(void)
Definition: session.cpp:45
Interface The base class Interface provides for the communication between Bootloader Client and Host ...
Definition: interface.h:47
void setInterface(Interface *const interface)
Definition: session.cpp:54
Definition: session.h:39
Session(QObject *parent=0)
Definition: session.cpp:21