mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-26 07:53:42 +02:00
Fix class/struct warnings.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
#include "ViewInfo.h" // for PlayRegion
|
#include "ViewInfo.h" // for PlayRegion
|
||||||
|
|
||||||
class AudacityProject;
|
class AudacityProject;
|
||||||
class SelectedRegionEvent;
|
struct SelectedRegionEvent;
|
||||||
class SnapManager;
|
class SnapManager;
|
||||||
class TrackList;
|
class TrackList;
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
class wxMouseEvent;
|
class wxMouseEvent;
|
||||||
class wxRect;
|
class wxRect;
|
||||||
class Envelope;
|
class Envelope;
|
||||||
class TrackPanelDrawingContext;
|
struct TrackPanelDrawingContext;
|
||||||
class ZoomInfo;
|
class ZoomInfo;
|
||||||
|
|
||||||
// A class that holds state for the duration of dragging
|
// A class that holds state for the duration of dragging
|
||||||
|
|||||||
@@ -644,7 +644,6 @@ bool MenuManager::TryToMakeActionAllowed(
|
|||||||
CommandFlag & flags, CommandFlag flagsRqd )
|
CommandFlag & flags, CommandFlag flagsRqd )
|
||||||
{
|
{
|
||||||
auto &project = mProject;
|
auto &project = mProject;
|
||||||
bool bAllowed;
|
|
||||||
|
|
||||||
if( flags.none() )
|
if( flags.none() )
|
||||||
flags = GetUpdateFlags();
|
flags = GetUpdateFlags();
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ Paul Licameli
|
|||||||
#define __AUDACITY_TRACK_PANEL_DRAWABLE__
|
#define __AUDACITY_TRACK_PANEL_DRAWABLE__
|
||||||
|
|
||||||
struct TrackPanelDrawingContext;
|
struct TrackPanelDrawingContext;
|
||||||
struct wxRect;
|
class wxRect;
|
||||||
|
|
||||||
/// \brief Drawing interface common to cells, groups of cells, and temporary handles in CellularPanel
|
/// \brief Drawing interface common to cells, groups of cells, and temporary handles in CellularPanel
|
||||||
class TrackPanelDrawable {
|
class AUDACITY_DLL_API TrackPanelDrawable {
|
||||||
public:
|
public:
|
||||||
virtual ~TrackPanelDrawable() = 0;
|
virtual ~TrackPanelDrawable() = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Paul Licameli split from TrackPanel.cpp
|
|||||||
|
|
||||||
class wxMouseState;
|
class wxMouseState;
|
||||||
class LabelTrack;
|
class LabelTrack;
|
||||||
class LabelTrackEvent;
|
struct LabelTrackEvent;
|
||||||
class NotifyingSelectedRegion;
|
class NotifyingSelectedRegion;
|
||||||
class ZoomInfo;
|
class ZoomInfo;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user