foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
ClipboardHelper::OpenScope

#include <clipboard.h>

Public Member Functions

 OpenScope ()
 
 ~OpenScope ()
 
void Close ()
 
void Open (HWND p_owner)
 

Private Attributes

bool m_open
 

Detailed Description

Definition at line 4 of file clipboard.h.

Constructor & Destructor Documentation

ClipboardHelper::OpenScope::OpenScope ( )
inline

Definition at line 6 of file clipboard.h.

6 : m_open(false) {}
ClipboardHelper::OpenScope::~OpenScope ( )
inline

Definition at line 7 of file clipboard.h.

Member Function Documentation

void ClipboardHelper::OpenScope::Close ( )
inline

Definition at line 13 of file clipboard.h.

13  {
14  if (m_open) {
15  m_open = false;
16  CloseClipboard();
17  }
18  }
void ClipboardHelper::OpenScope::Open ( HWND  p_owner)
inline

Definition at line 8 of file clipboard.h.

8  {
9  Close();
10  WIN32_OP(OpenClipboard(p_owner));
11  m_open = true;
12  }

Field Documentation

bool ClipboardHelper::OpenScope::m_open
private

Definition at line 20 of file clipboard.h.


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