-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwindowmanager.h
More file actions
48 lines (46 loc) · 1.42 KB
/
windowmanager.h
File metadata and controls
48 lines (46 loc) · 1.42 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
* @file windowmanager.h
* @brief Window switcher class header
* @author mnxoid
*
* Copyright 2014 by mnxoid,
*
* This software is the confidential and proprietary information
* of mnxoid ("Confidential Information"). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with mnxoid.
**/
#ifndef WINDOWMANAGER_H
#define WINDOWMANAGER_H
#include "mainwindow.h"
#include "adminscreen.h"
#include "userscreen.h"
#include "exuserscreen.h"
#include "goodsmgmtscreen.h"
/**
* @brief A class for switching between windows of the application
**/
class WindowManager
{
public:
/**
* @brief WindowManager constructor
**/
WindowManager();
/**
* @brief Initialization function
* @param [in] m - MainWindow reference
* @param [in] a - AdminScreen reference
* @param [in] u - UserScreen reference
* @param [in] x - ExUserScreen reference
* @param [in] g - GoodsMgmtScreen reference
**/
void Init(MainWindow* m, AdminScreen* a, UserScreen* u, ExUserScreen* x, GoodsMgmtScreen* g);
MainWindow* mw; //!< MainWindow reference
AdminScreen* ad; //!< AdminScreen reference
UserScreen* us; //!< UserScreen reference
ExUserScreen* xu; //!< ExUserScreen reference
GoodsMgmtScreen* gs; //!< GoodsMgmtScreen reference
};
#endif // WINDOWMANAGER_H