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

td_th_dialog.h

Go to the documentation of this file.
      00001 //----------------------------------------------------------------------------------------
      00011 // RCS-ID:      $Id: td_th_dialog.h,v 1.5 2002/09/10 18:07:56 robertoconnor Exp $
      00012 //----------------------------------------------------------------------------------------
      00013 
      00014 //----------------------------------------------------------------------------------------
      00015 // Begin single inclusion of this .h file condition
      00016 //----------------------------------------------------------------------------------------
      00017 
      00018 #ifndef _TD_TH_DIALOG_H_
      00019 #define _TD_TH_DIALOG_H_
      00020 
      00021 //----------------------------------------------------------------------------------------
      00022 // GCC interface
      00023 //----------------------------------------------------------------------------------------
      00024 
      00025 #if defined(__GNUG__) && ! defined(__APPLE__)
      00026     #pragma interface "td_th_dialog.h"
      00027 #endif
      00028 
      00029 //----------------------------------------------------------------------------------------
      00030 // Shared defines
      00031 //----------------------------------------------------------------------------------------
      00032 
      00033 #include "plucker_defines.h"
      00034 
      00035 //----------------------------------------------------------------------------------------
      00036 // Begin feature removal condition
      00037 //----------------------------------------------------------------------------------------
      00038 
      00039 #if ( setupUSE_INTEGRATED_HTML_EDITOR )
      00040 
      00041 //----------------------------------------------------------------------------------------
      00042 // Headers
      00043 //----------------------------------------------------------------------------------------
      00044 
      00045 #include "wx/dialog.h"
      00046 
      00047 //----------------------------------------------------------------------------------------
      00048 // Class options
      00049 //----------------------------------------------------------------------------------------
      00050 
      00051 enum {
      00052     optionTD_TH_DIALOG_IS_TD    = 1,
      00053     optionTD_TH_DIALOG_IS_TH    = 2
      00054 };
      00055 
      00056 //----------------------------------------------------------------------------------------
      00057 // Class definition: td_th_dialog
      00058 //----------------------------------------------------------------------------------------
      00059 
      00061 class td_th_dialog : public wxDialog
      00062 {
      00063 
      00064 public:
      00065 
      00067 
      00071     td_th_dialog( wxWindow* parent, long td_verusus_th_dialog_type );
      00072 
      00074     ~td_th_dialog();
      00075 
      00077 
      00081     void transfer_to( wxString& starting_text,
      00082                       wxString& ending_text
      00083                     );
      00084 
      00085 private:
      00086 
      00087     void on_help_button( wxCommandEvent& event );
      00088     //Override base class functions
      00089     void OnOK( wxCommandEvent& event );
      00090 
      00091     long        m_td_versus_th_dialog_type;
      00092     wxString    m_starting_text;
      00093     wxString    m_ending_text;
      00094 
      00095     DECLARE_EVENT_TABLE()
      00096 
      00097 };
      00098 
      00099 //----------------------------------------------------------------------------------------
      00100 // End feature removal condition
      00101 //----------------------------------------------------------------------------------------
      00102 
      00103 #endif // setupUSE_INTEGRATED_HTML_EDITOR
      00104 
      00105 //----------------------------------------------------------------------------------------
      00106 // End single inclusion of this .h file condition
      00107 //----------------------------------------------------------------------------------------
      00108 
      00109 #endif  //_TD_TH_DIALOG_H_
      00110