thedesk/libthedesk/statemanager.h

57 lines
1.7 KiB
C
Raw Normal View History

2020-04-04 08:02:17 -04:00
/****************************************
*
* INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE
* Copyright (C) 2020 Victor Tran
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* *************************************/
#ifndef STATEMANAGER_H
#define STATEMANAGER_H
#include "libthedesk_global.h"
#include <QObject>
class BarManager;
2020-04-12 11:34:13 -04:00
class GatewayManager;
2020-04-11 08:06:34 -04:00
class PowerManager;
class StatusCenterManager;
class LocaleManager;
2020-04-12 11:34:13 -04:00
class HudManager;
2020-04-16 10:52:51 -04:00
class OnboardingManager;
2021-12-31 06:06:00 -05:00
class QuietModeManagerTd;
2020-04-11 08:06:34 -04:00
struct StateManagerPrivate;
2020-04-04 08:02:17 -04:00
class LIBTHEDESK_EXPORT StateManager : public QObject {
Q_OBJECT
public:
static StateManager* instance();
static BarManager* barManager();
2020-04-12 11:34:13 -04:00
static GatewayManager* gatewayManager();
2020-04-11 08:06:34 -04:00
static PowerManager* powerManager();
static StatusCenterManager* statusCenterManager();
static LocaleManager* localeManager();
2020-04-12 11:34:13 -04:00
static HudManager* hudManager();
2020-04-16 10:52:51 -04:00
static OnboardingManager* onboardingManager();
2021-12-31 06:06:00 -05:00
static QuietModeManagerTd* quietModeManager();
2020-04-04 08:02:17 -04:00
private:
explicit StateManager();
static StateManagerPrivate* d;
};
#endif // STATEMANAGER_H