mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Remove a friend declaration from Project, privatize a pointer member...
... and make implementation of that pointer a smart one.
This commit is contained in:
@@ -612,8 +612,10 @@ public:
|
||||
Meter *mPlaybackMeter{};
|
||||
Meter *mCaptureMeter{};
|
||||
|
||||
std::unique_ptr<ToolManager> mToolManager{};
|
||||
|
||||
public:
|
||||
ToolManager *mToolManager{};
|
||||
ToolManager *GetToolManager() { return mToolManager.get(); }
|
||||
bool mShowSplashScreen;
|
||||
wxString mHelpPref;
|
||||
wxString mSoloPref;
|
||||
@@ -675,9 +677,6 @@ public:
|
||||
// Last effect applied to this project
|
||||
PluginID mLastEffect{};
|
||||
|
||||
// The screenshot class needs to access internals
|
||||
friend class ScreenshotCommand;
|
||||
|
||||
wxRect mNormalizedWindowState;
|
||||
|
||||
//flag for cancellation of timer record.
|
||||
|
||||
Reference in New Issue
Block a user