Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
anonymous_namespace{WhatsNewDialog.cpp}::FSHelper Struct Referencefinal
Collaboration diagram for anonymous_namespace{WhatsNewDialog.cpp}::FSHelper:
[legend]

Public Member Functions

 FSHelper ()
 
 ~FSHelper ()
 

Private Attributes

std::unique_ptr< wxMemoryFSHandler > mMemoryFSHandler
 

Detailed Description

Definition at line 67 of file WhatsNewDialog.cpp.

Constructor & Destructor Documentation

◆ FSHelper()

anonymous_namespace{WhatsNewDialog.cpp}::FSHelper::FSHelper ( )
inline

Definition at line 69 of file WhatsNewDialog.cpp.

70 : mMemoryFSHandler(std::make_unique<wxMemoryFSHandler>())
71 {
72 wxFileSystem::AddHandler(mMemoryFSHandler.get());
73
74 wxMemoryFSHandler::AddFile(
75 "whats_new_btn.jpeg", bin2c_whats_new_btn_jpeg,
76 sizeof(bin2c_whats_new_btn_jpeg));
77 wxMemoryFSHandler::AddFile(
78 "musehub.jpeg", bin2c_musehub_jpeg,
79 sizeof(bin2c_musehub_jpeg));
80 }
std::unique_ptr< wxMemoryFSHandler > mMemoryFSHandler

◆ ~FSHelper()

anonymous_namespace{WhatsNewDialog.cpp}::FSHelper::~FSHelper ( )
inline

Definition at line 82 of file WhatsNewDialog.cpp.

83 {
84 wxMemoryFSHandler::RemoveFile("whats_new_btn.jpeg");
85 wxMemoryFSHandler::RemoveFile("musehub.jpeg");
86 wxFileSystem::RemoveHandler(mMemoryFSHandler.get());
87 }

Member Data Documentation

◆ mMemoryFSHandler

std::unique_ptr<wxMemoryFSHandler> anonymous_namespace{WhatsNewDialog.cpp}::FSHelper::mMemoryFSHandler
private

Definition at line 90 of file WhatsNewDialog.cpp.


The documentation for this struct was generated from the following file: