![]() |
Audacity 3.2.0
|
#include <PluginRegistrationDialog.h>
Classes | |
struct | ItemData |
Public Member Functions | |
PluginRegistrationDialog (wxWindow *parent) | |
![]() | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
![]() | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Types | |
using | ItemDataMap = std::unordered_map< PluginPath, ItemData > |
Private Member Functions | |
void | Populate () |
void | PopulateOrExchange (ShuttleGui &S) |
Defines the dialog and does data exchange with it. More... | |
void | PopulateItemsList (PluginManager &pm) |
void | RegenerateEffectsList (int iShowWhat) |
void | SetState (int i, bool toggle, bool state=true) |
int | SortCompare (ItemData *item1, ItemData *item2) |
void | OnChangedVisibility (wxCommandEvent &evt) |
void | OnSort (wxListEvent &evt) |
void | DoSort (int col) |
void | OnListChar (wxKeyEvent &evt) |
void | OnOK (wxCommandEvent &evt) |
void | OnCancel (wxCommandEvent &evt) |
void | OnSelectAll (wxCommandEvent &evt) |
void | OnClearAll (wxCommandEvent &evt) |
void | OnRescan (wxCommandEvent &evt) |
void | OnEnable (wxCommandEvent &evt) |
void | OnDisable (wxCommandEvent &evt) |
Static Private Member Functions | |
static int wxCALLBACK | SortCompare (wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData) |
Private Attributes | |
int | mFilter |
wxArrayString | mStates |
ItemDataMap | mItems |
int | mSortColumn |
int | mSortDirection |
PluginPath | mLongestPath |
wxListCtrl * | mEffects |
Definition at line 25 of file PluginRegistrationDialog.h.
|
private |
Definition at line 44 of file PluginRegistrationDialog.h.
PluginRegistrationDialog::PluginRegistrationDialog | ( | wxWindow * | parent | ) |
Definition at line 397 of file PluginRegistrationDialog.cpp.
References _, COL_Name, STATE_COUNT, STATE_Disabled, and STATE_Enabled.
|
private |
Definition at line 812 of file PluginRegistrationDialog.cpp.
References mEffects, mSortColumn, mSortDirection, and SortCompare().
Referenced by OnSort().
|
private |
Definition at line 1068 of file PluginRegistrationDialog.cpp.
|
private |
Definition at line 800 of file PluginRegistrationDialog.cpp.
References RegenerateEffectsList().
|
private |
Definition at line 864 of file PluginRegistrationDialog.cpp.
References mEffects.
|
private |
Definition at line 951 of file PluginRegistrationDialog.cpp.
References mEffects, SetState(), and STATE_Disabled.
|
private |
Definition at line 932 of file PluginRegistrationDialog.cpp.
References mEffects, SetState(), and STATE_Enabled.
|
private |
Definition at line 830 of file PluginRegistrationDialog.cpp.
References mEffects, and SetState().
Referenced by PopulateOrExchange().
|
private |
Definition at line 970 of file PluginRegistrationDialog.cpp.
References AudacityMessageBox(), BasicUI::Cancelled, TranslatableString::empty(), ModuleManager::Get(), PluginManager::Get(), TranslatableString::Join(), mItems, mLongestPath, PluginManager::NotifyPluginsChanged(), PluginRegistrationDialog::ItemData::path, pdlgHideStopButton, PluginTypeStub, PluginRegistrationDialog::ItemData::plugs, ModuleManager::RegisterEffectPlugin(), PluginManager::Save(), PluginRegistrationDialog::ItemData::state, STATE_Enabled, PluginManager::UnregisterPlugin(), PluginRegistrationDialog::ItemData::valid, Verbatim(), wxT(), and XO().
|
private |
Definition at line 872 of file PluginRegistrationDialog.cpp.
References PluginManager::CheckPluginUpdates(), PluginManager::Get(), Manual, mEffects, mFilter, mItems, PluginTypeEffect, PluginTypeStub, PopulateItemsList(), anonymous_namespace{CompareAudioCommand.cpp}::reg, RegenerateEffectsList(), and safenew.
|
private |
Definition at line 856 of file PluginRegistrationDialog.cpp.
References mEffects.
|
private |
Definition at line 806 of file PluginRegistrationDialog.cpp.
References DoSort().
|
private |
Definition at line 422 of file PluginRegistrationDialog.cpp.
References eIsCreating, PopulateOrExchange(), and S.
|
private |
Definition at line 611 of file PluginRegistrationDialog.cpp.
References PluginManager::AllPlugins(), mItems, PluginRegistrationDialog::ItemData::name, PluginRegistrationDialog::ItemData::path, PluginTypeEffect, PluginTypeStub, PluginRegistrationDialog::ItemData::plugs, PluginRegistrationDialog::ItemData::state, STATE_Disabled, STATE_Enabled, and PluginRegistrationDialog::ItemData::valid.
Referenced by OnRescan(), and PopulateOrExchange().
|
private |
Defines the dialog and does data exchange with it.
Definition at line 431 of file PluginRegistrationDialog.cpp.
References COL_Name, COL_Path, COL_State, eCancelButton, eOkButton, PluginManager::Get(), ID_ClearAll, ID_Disable, ID_Enable, ID_List, ID_Rescan, ID_SelectAll, ID_ShowAll, ID_ShowDisabled, ID_ShowEnabled, mEffects, min(), mItems, mLongestPath, mStates, OnListChar(), PopulateItemsList(), RegenerateEffectsList(), S, safenew, XO(), and XXO().
Referenced by Populate().
|
private |
Definition at line 647 of file PluginRegistrationDialog.cpp.
References staffpad::vo::add(), COL_Path, COL_State, ID_ShowAll, ID_ShowDisabled, ID_ShowEnabled, mEffects, mFilter, mItems, mStates, PluginRegistrationDialog::ItemData::name, PluginRegistrationDialog::ItemData::path, SortCompare(), PluginRegistrationDialog::ItemData::state, STATE_Disabled, and STATE_Enabled.
Referenced by OnChangedVisibility(), OnRescan(), and PopulateOrExchange().
|
private |
Definition at line 710 of file PluginRegistrationDialog.cpp.
References COL_State, DISABLE_STATE_NEW, ID_ShowDisabled, ID_ShowEnabled, mEffects, mFilter, mStates, PluginRegistrationDialog::ItemData::state, STATE_Disabled, STATE_Enabled, and PluginRegistrationDialog::ItemData::valid.
Referenced by OnDisable(), OnEnable(), and OnListChar().
Definition at line 772 of file PluginRegistrationDialog.cpp.
References COL_Name, COL_Path, COL_State, mSortColumn, mSortDirection, mStates, PluginRegistrationDialog::ItemData::name, PluginRegistrationDialog::ItemData::path, and PluginRegistrationDialog::ItemData::state.
|
staticprivate |
Definition at line 763 of file PluginRegistrationDialog.cpp.
References SortCompare().
Referenced by DoSort(), RegenerateEffectsList(), and SortCompare().
|
private |
Definition at line 78 of file PluginRegistrationDialog.h.
Referenced by DoSort(), OnClearAll(), OnDisable(), OnEnable(), OnListChar(), OnRescan(), OnSelectAll(), PopulateOrExchange(), RegenerateEffectsList(), and SetState().
|
private |
Definition at line 68 of file PluginRegistrationDialog.h.
Referenced by OnRescan(), RegenerateEffectsList(), and SetState().
|
private |
Definition at line 71 of file PluginRegistrationDialog.h.
Referenced by OnOK(), OnRescan(), PopulateItemsList(), PopulateOrExchange(), and RegenerateEffectsList().
|
private |
Definition at line 76 of file PluginRegistrationDialog.h.
Referenced by OnOK(), and PopulateOrExchange().
|
private |
Definition at line 73 of file PluginRegistrationDialog.h.
Referenced by DoSort(), and SortCompare().
|
private |
Definition at line 74 of file PluginRegistrationDialog.h.
Referenced by DoSort(), and SortCompare().
|
private |
Definition at line 70 of file PluginRegistrationDialog.h.
Referenced by PopulateOrExchange(), RegenerateEffectsList(), SetState(), and SortCompare().