jigdo API

MessageBox::Ref Class Reference

Ref object to store reference to a MessageBox in. More...

#include <messagebox.hh>

List of all members.

Public Member Functions

 Ref ()
 ~Ref ()
void set (MessageBox *m)
MessageBoxget () const


class MessageBox

Detailed Description

Ref object to store reference to a MessageBox in.

If the Ref object already contained a reference, that MessageBox is deleted (i.e. closed on screen). If the MessageBox is deleted, it sets its reference to null. Useful to ensure that only one MessageBox is ever open for a certain Ref instance.

Constructor & Destructor Documentation

MessageBox::Ref::Ref (  )  [inline]

MessageBox::Ref::~Ref (  )  [inline]

Member Function Documentation

MessageBox* MessageBox::Ref::get (  )  const [inline]

Referenced by MessageBox::~MessageBox().

Friends And Related Function Documentation

friend class MessageBox [friend]

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

Generated on Tue Sep 23 14:27:43 2008 for jigdo by  doxygen 1.5.6