yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::util::ScopedSaveFileDialogResultForTesting Class Reference

#include <file_util.h>

Public Member Functions

 ScopedSaveFileDialogResultForTesting (std::string result)
 
 ~ScopedSaveFileDialogResultForTesting ()
 
 ScopedSaveFileDialogResultForTesting (const ScopedSaveFileDialogResultForTesting &)=delete
 
ScopedSaveFileDialogResultForTesting & operator= (const ScopedSaveFileDialogResultForTesting &)=delete
 
bool consumed () const
 

Private Attributes

std::optional< std::string > result_
 
bool consumed_ = false
 

Friends

class FileDialogWrapper
 

Detailed Description

Definition at line 23 of file file_util.h.

Constructor & Destructor Documentation

◆ ScopedSaveFileDialogResultForTesting() [1/2]

yaze::util::ScopedSaveFileDialogResultForTesting::ScopedSaveFileDialogResultForTesting ( std::string result)
explicit

Definition at line 23 of file file_util.cc.

◆ ~ScopedSaveFileDialogResultForTesting()

yaze::util::ScopedSaveFileDialogResultForTesting::~ScopedSaveFileDialogResultForTesting ( )

Definition at line 33 of file file_util.cc.

◆ ScopedSaveFileDialogResultForTesting() [2/2]

yaze::util::ScopedSaveFileDialogResultForTesting::ScopedSaveFileDialogResultForTesting ( const ScopedSaveFileDialogResultForTesting & )
delete

Member Function Documentation

◆ operator=()

ScopedSaveFileDialogResultForTesting & yaze::util::ScopedSaveFileDialogResultForTesting::operator= ( const ScopedSaveFileDialogResultForTesting & )
delete

◆ consumed()

bool yaze::util::ScopedSaveFileDialogResultForTesting::consumed ( ) const

Definition at line 38 of file file_util.cc.

References consumed_.

Friends And Related Symbol Documentation

◆ FileDialogWrapper

friend class FileDialogWrapper
friend

Definition at line 34 of file file_util.h.

Member Data Documentation

◆ result_

std::optional<std::string> yaze::util::ScopedSaveFileDialogResultForTesting::result_
private

◆ consumed_

bool yaze::util::ScopedSaveFileDialogResultForTesting::consumed_ = false
private

The documentation for this class was generated from the following files: