Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SignalBlocker Class Reference

Public Member Functions

 SignalBlocker (gpointer instance, void(*closure)(EvBrowserPluginToolbar *), gpointer data)
 
 ~SignalBlocker ()
 

Private Attributes

gpointer m_instance
 
gpointer m_closure
 
gpointer m_data
 

Detailed Description

Definition at line 163 of file EvBrowserPluginToolbar.cpp.

Constructor & Destructor Documentation

SignalBlocker::SignalBlocker ( gpointer  instance,
void(*)(EvBrowserPluginToolbar *)  closure,
gpointer  data 
)
inline

Definition at line 165 of file EvBrowserPluginToolbar.cpp.

166  : m_instance(instance)
167  , m_closure(reinterpret_cast<gpointer>(closure))
168  , m_data(data)
169  {
170  g_signal_handlers_block_by_func(m_instance, m_closure, m_data);
171  }
SignalBlocker::~SignalBlocker ( )
inline

Definition at line 173 of file EvBrowserPluginToolbar.cpp.

174  {
175  g_signal_handlers_unblock_by_func(m_instance, m_closure, m_data);
176  }

Field Documentation

gpointer SignalBlocker::m_closure
private

Definition at line 180 of file EvBrowserPluginToolbar.cpp.

gpointer SignalBlocker::m_data
private

Definition at line 181 of file EvBrowserPluginToolbar.cpp.

gpointer SignalBlocker::m_instance
private

Definition at line 179 of file EvBrowserPluginToolbar.cpp.


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