Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

blocked_dialog Class Reference

Add/edit a blocked string for exclusion lists dialog. More...

#include <blocked_dialog.h>

Inheritance diagram for blocked_dialog:

wxDialog List of all members.

Public Methods

  blocked_dialog (wxWindow *parent, wxString exclusion_string, long &action, long &priority)
  Constructor.

  ~blocked_dialog ()
  Destructor.

void  transfer_to (wxString &exclusion_string, long &action, long &priority)
  Transfers the data to the parent dialog.


Detailed Description

Add/edit a blocked string for exclusion lists dialog.

This dialog is shown when user clicks an 'Add exclusion...' or 'Edit exclusion...' button on an exclusion_dialog .


Constructor & Destructor Documentation

blocked_dialog::blocked_dialog wxWindow *    parent,
wxString    exclusion_string,
long &    action,
long &    priority
 

Constructor.

Parameters:
parent  The parent window.
exclusion_string  If editing an existing, puts this string into the textctrl.
action  If editing an existing, puts this string into the action choice.
priority  If editing an existing, puts this string into the priority spinctrl.

Member Function Documentation

void blocked_dialog::transfer_to wxString &    exclusion_string,
long &    action,
long &    priority
 

Transfers the data to the parent dialog.

Parameters:
exclusion_string  Exclusion string that user entered into the textctrl.
action  Action that user entered into the action choice.
priority  Priority that user entered into the priority spinctrl.