1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00
audacity/src/prefs/PlaybackPrefs.h

45 lines
871 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
PlaybackPrefs.h
Joshua Haberman
James Crook
**********************************************************************/
#ifndef __AUDACITY_PLAYBACK_PREFS__
#define __AUDACITY_PLAYBACK_PREFS__
#include <wx/defs.h>
#include <wx/window.h>
#include "PrefsPanel.h"
class ShuttleGui;
class PlaybackPrefs final : public PrefsPanel
{
public:
PlaybackPrefs(wxWindow * parent);
virtual ~PlaybackPrefs();
bool Apply() override;
static bool GetPinnedHeadPreference();
static void SetPinnedHeadPreference(bool value, bool flush = false);
private:
void Populate();
void PopulateOrExchange(ShuttleGui & S);
};
class PlaybackPrefsFactory final : public PrefsPanelFactory
{
public:
PrefsPanel *Create(wxWindow *parent) override;
};
#endif