Canola  0.8.D001
Public Member Functions | Private Member Functions | Private Attributes
dialog_prog_mode Class Reference

#include <prog_mode.h>

List of all members.

Public Member Functions

virtual ~dialog_prog_mode ()
 dialog_prog_mode (calculator_gnome *subject)
void on_response (int response_id)

Private Member Functions

 dialog_prog_mode ()
 dialog_prog_mode (const dialog_prog_mode &rhs)
dialog_prog_modeoperator= (const dialog_prog_mode &rhs)

Private Attributes

calculator_gnomesubject
Gtk::Label message

Detailed Description

The dialog_prog_mode class is used to represent the UI elements to warn when the program mode is probably wrong, and give the user a chance to change it.

Definition at line 31 of file prog_mode.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 23 of file prog_mode.cc.

The constructor.

Parameters:
subjectThe calculator instance to be manipulated.

Definition at line 28 of file prog_mode.cc.

The default constructor. Do not use.

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

void dialog_prog_mode::on_response ( int  response_id)

Definition at line 52 of file prog_mode.cc.

dialog_prog_mode& dialog_prog_mode::operator= ( const dialog_prog_mode rhs) [private]

The assignment operator. Do not use.

Parameters:
rhsThe right hand side of the assignment.

Member Data Documentation

Gtk::Label dialog_prog_mode::message [private]

The message instance variable is used to rememeber the accumulated text of the error messages.

Definition at line 62 of file prog_mode.h.

The subject instance variable is used to remember the calculator instance to be manipulated.

Definition at line 56 of file prog_mode.h.


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