Audacity 3.2.0
Public Member Functions | Private Attributes | List of all members
Clipboard::Scope Struct Reference

Empty the clipboard at start of scope; restore its contents after. More...

#include <Clipboard.h>

Collaboration diagram for Clipboard::Scope:
[legend]

Public Member Functions

 Scope ()
 
 ~Scope ()
 

Private Attributes

Clipboard mTempClipboard
 

Detailed Description

Empty the clipboard at start of scope; restore its contents after.

Definition at line 70 of file Clipboard.h.

Constructor & Destructor Documentation

◆ Scope()

Clipboard::Scope::Scope ( )

Definition at line 70 of file Clipboard.cpp.

71{
73}
static Clipboard & Get()
Definition: Clipboard.cpp:28
void Swap(Clipboard &other)
Definition: Clipboard.cpp:20
Clipboard mTempClipboard
Definition: Clipboard.h:74

References Clipboard::Get(), mTempClipboard, and Clipboard::Swap().

Here is the call graph for this function:

◆ ~Scope()

Clipboard::Scope::~Scope ( )

Definition at line 75 of file Clipboard.cpp.

76{
78}

References Clipboard::Get(), and Clipboard::Swap().

Here is the call graph for this function:

Member Data Documentation

◆ mTempClipboard

Clipboard Clipboard::Scope::mTempClipboard
private

Definition at line 74 of file Clipboard.h.

Referenced by Scope().


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