mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 23:00:06 +02:00
Declare GetProjectFrame() as AUDACITY_DLL_API.
The mod-null project uses it so it is presumable intended to be part of the external API.
This commit is contained in:
parent
acadd4b7fb
commit
7d38ef8ed5
@ -155,7 +155,7 @@ void AudacityProject::SetStatus(const wxString &msg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wxFrame &GetProjectFrame( AudacityProject &project )
|
AUDACITY_DLL_API wxFrame &GetProjectFrame( AudacityProject &project )
|
||||||
{
|
{
|
||||||
auto ptr = project.GetFrame();
|
auto ptr = project.GetFrame();
|
||||||
if ( !ptr )
|
if ( !ptr )
|
||||||
@ -163,7 +163,7 @@ wxFrame &GetProjectFrame( AudacityProject &project )
|
|||||||
return *ptr;
|
return *ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
const wxFrame &GetProjectFrame( const AudacityProject &project )
|
AUDACITY_DLL_API const wxFrame &GetProjectFrame( const AudacityProject &project )
|
||||||
{
|
{
|
||||||
auto ptr = project.GetFrame();
|
auto ptr = project.GetFrame();
|
||||||
if ( !ptr )
|
if ( !ptr )
|
||||||
|
@ -152,8 +152,8 @@ class AUDACITY_DLL_API AudacityProject final
|
|||||||
|
|
||||||
///\brief Get the top-level window associated with the project (as a wxFrame
|
///\brief Get the top-level window associated with the project (as a wxFrame
|
||||||
/// only, when you do not need to use the subclass ProjectWindow)
|
/// only, when you do not need to use the subclass ProjectWindow)
|
||||||
wxFrame &GetProjectFrame( AudacityProject &project );
|
AUDACITY_DLL_API wxFrame &GetProjectFrame( AudacityProject &project );
|
||||||
const wxFrame &GetProjectFrame( const AudacityProject &project );
|
AUDACITY_DLL_API const wxFrame &GetProjectFrame( const AudacityProject &project );
|
||||||
|
|
||||||
///\brief Get a pointer to the window associated with a project, or null if
|
///\brief Get a pointer to the window associated with a project, or null if
|
||||||
/// the given pointer is null.
|
/// the given pointer is null.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user