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 63 of file WhatsNewDialog.cpp.

Constructor & Destructor Documentation

◆ FSHelper()

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

Definition at line 65 of file WhatsNewDialog.cpp.

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

◆ ~FSHelper()

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

Definition at line 78 of file WhatsNewDialog.cpp.

79 {
80 wxMemoryFSHandler::RemoveFile("whats_new_btn.jpeg");
81 wxMemoryFSHandler::RemoveFile("musehub.jpeg");
82 wxFileSystem::RemoveHandler(mMemoryFSHandler.get());
83 }

Member Data Documentation

◆ mMemoryFSHandler

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

Definition at line 86 of file WhatsNewDialog.cpp.


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