Audacity  3.2.0
Public Member Functions | List of all members
PlayRegionEvent Struct Reference

#include <ViewInfo.h>

Inheritance diagram for PlayRegionEvent:
[legend]
Collaboration diagram for PlayRegionEvent:
[legend]

Public Member Functions

 PlayRegionEvent (wxEventType commandType, PlayRegion *pRegion)
 
wxEvent * Clone () const override
 

Detailed Description

Definition at line 117 of file ViewInfo.h.

Constructor & Destructor Documentation

◆ PlayRegionEvent()

PlayRegionEvent::PlayRegionEvent ( wxEventType  commandType,
PlayRegion pRegion 
)

Definition at line 158 of file ViewInfo.cpp.

160 : wxEvent{ 0, commandType }
161 {}

Member Function Documentation

◆ Clone()

wxEvent * PlayRegionEvent::Clone ( ) const
override

Definition at line 163 of file ViewInfo.cpp.

164 {
165  return safenew PlayRegionEvent{ *this };
166 }

References safenew.


The documentation for this struct was generated from the following files:
PlayRegionEvent
Definition: ViewInfo.h:118
safenew
#define safenew
Definition: MemoryX.h:10