mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Removed settings context
* removed old settings related classes * moved notifications to BlackMisc::Audio * added audio settings where needed refs #464 refs #337
This commit is contained in:
committed by
Mathew Sutcliffe
parent
821e0417ae
commit
ac61a3458d
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackcore/context_runtime.h"
|
||||
#include "blackmisc/notificationsounds.h"
|
||||
#include "blackmisc/audio/notificationsounds.h"
|
||||
#include <QTimer>
|
||||
|
||||
namespace BlackCore
|
||||
@@ -95,12 +95,6 @@ namespace BlackGui
|
||||
//! Context for own aircraft
|
||||
BlackCore::IContextOwnAircraft *getIContextOwnAircraft();
|
||||
|
||||
//! Context for settings
|
||||
BlackCore::IContextSettings *getIContextSettings();
|
||||
|
||||
//! Context for settings
|
||||
const BlackCore::IContextSettings *getIContextSettings() const;
|
||||
|
||||
//! Context for simulator
|
||||
const BlackCore::IContextSimulator *getIContextSimulator() const;
|
||||
|
||||
@@ -118,7 +112,7 @@ namespace BlackGui
|
||||
bool hasRemoteApplicationContext() const { return this->m_runtime->hasRemoteApplicationContext(); }
|
||||
|
||||
//! Play a given notification sound
|
||||
void playNotifcationSound(BlackSound::CNotificationSounds::Notification notification) const;
|
||||
void playNotifcationSound(BlackMisc::Audio::CNotificationSounds::Notification notification) const;
|
||||
|
||||
private:
|
||||
BlackCore::CRuntime *m_runtime;
|
||||
|
||||
Reference in New Issue
Block a user