mirror of
https://github.com/alexkay/spek.git
synced 2025-04-17 00:52:20 +03:00
Platfrom-specific initialisation
This commit is contained in:
parent
31df33c9da
commit
c7f2715130
@ -26,7 +26,7 @@ class SpekPlatform
|
||||
{
|
||||
public:
|
||||
// Platform-specific initialisation code.
|
||||
void init();
|
||||
static void init();
|
||||
|
||||
// Not quite XDG-compatible, but close enough.
|
||||
static wxString config_path(const wxString& app_name);
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <wx/log.h>
|
||||
|
||||
#include "spek-audio.h"
|
||||
#include "spek-platform.hh"
|
||||
#include "spek-preferences.hh"
|
||||
|
||||
#include "spek-window.hh"
|
||||
@ -39,6 +40,7 @@ IMPLEMENT_APP(Spek)
|
||||
|
||||
bool Spek::OnInit()
|
||||
{
|
||||
SpekPlatform::init();
|
||||
SpekPreferences::get().init();
|
||||
spek_audio_init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user