mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 09:01:13 +02:00
... but none of the methods is defined yet. The intention is to inject dependencies on wxWidgets (or other) toolkit so that lower-level files have less build dependency on wxCore classes or on the event loop. Original commit: d20cf012556a819e68515d86bb66a2c047007539 Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
26 lines
493 B
C++
26 lines
493 B
C++
/*!********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
@file BasicUI.cpp
|
|
|
|
Paul Licameli
|
|
|
|
**********************************************************************/
|
|
#include "BasicUI.h"
|
|
|
|
namespace BasicUI {
|
|
Services::~Services() = default;
|
|
|
|
static Services *theInstance = nullptr;
|
|
|
|
Services *Get() { return theInstance; }
|
|
|
|
Services *Install(Services *pInstance)
|
|
{
|
|
auto result = theInstance;
|
|
theInstance = pInstance;
|
|
return result;
|
|
}
|
|
}
|