#include <messagebox.hh>
Public Member Functions | |
| Ref () | |
| ~Ref () | |
| void | set (MessageBox *m) |
| MessageBox * | get () const |
Friends | |
| class | MessageBox |
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.
| MessageBox::Ref::Ref | ( | ) | [inline] |
| MessageBox::Ref::~Ref | ( | ) | [inline] |
| void MessageBox::Ref::set | ( | MessageBox * | m | ) | [inline] |
References Assert, and MessageBox::ref.
Referenced by GtkSingleUrl::on_closeButton_clicked(), GtkSingleUrl::on_restartButton_clicked(), GtkSingleUrl::on_startButton_clicked(), and GtkSingleUrl::run().
| MessageBox* MessageBox::Ref::get | ( | ) | const [inline] |
Referenced by MessageBox::~MessageBox().
friend class MessageBox [friend] |
1.5.6