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

main_frame.h

Go to the documentation of this file.
      00001 //----------------------------------------------------------------------------------------
      00011 // RCS-ID:      $Id: main_frame.h,v 1.4 2003/03/09 01:35:33 robertoconnor Exp $
      00012 //----------------------------------------------------------------------------------------
      00013 
      00014 //----------------------------------------------------------------------------------------
      00015 // Begin single inclusion of this .h file condition
      00016 //----------------------------------------------------------------------------------------
      00017 
      00018 #ifndef _MAIN_FRAME_H_
      00019 #define _MAIN_FRAME_H_
      00020 
      00021 //----------------------------------------------------------------------------------------
      00022 // GCC interface
      00023 //----------------------------------------------------------------------------------------
      00024 
      00025 #if defined(__GNUG__) && ! defined(__APPLE__)
      00026     #pragma interface "main_frame.h"
      00027 #endif
      00028 
      00029 //----------------------------------------------------------------------------------------
      00030 // Shared defines
      00031 //----------------------------------------------------------------------------------------
      00032 
      00033 #include "plucker_defines.h"
      00034 
      00035 //----------------------------------------------------------------------------------------
      00036 // Headers
      00037 //----------------------------------------------------------------------------------------
      00038 
      00039 #include "wx/image.h"
      00040 #include "wx/frame.h"
      00041 #include "main_listctrl.h"        // main_listctrl
      00042 
      00043 //----------------------------------------------------------------------------------------
      00044 // Class definition: main_frame
      00045 //----------------------------------------------------------------------------------------
      00046 
      00048 
      00052 class main_frame : public wxFrame
      00053 {
      00054 
      00055 public:
      00056     
      00058 
      00061     main_frame( wxWindow* parent=(wxWindow *)NULL);
      00062     
      00064     ~main_frame();
      00065     
      00067 
      00070     void frame_startup_init();
      00071     
      00072 private:
      00073 
      00074     void on_add_channel_tool_or_menuitem( wxCommandEvent& event );
      00075     void on_add_channel_wizard_tool_or_menuitem( wxCommandEvent& event );   
      00076     void on_configure_channel_tool_or_menuitem( wxCommandEvent& event );
      00077     void on_delete_channels_tool_or_menuitem( wxCommandEvent& event );
      00078     void on_exit_tool_or_menuitem( wxCommandEvent& event );
      00079     
      00080     void on_paste_url_as_new_channel_tool_or_menuitem( wxCommandEvent& event );
      00081     void on_update_ui_paste_url_as_new_channel_tool_or_menuitem( wxUpdateUIEvent& event );
      00082     void on_paste_fullnames_as_new_separate_channels_tool_or_menuitem( wxCommandEvent& event );    
      00083     void on_update_ui_paste_fullnames_as_new_separate_channels_tool_or_menuitem( wxUpdateUIEvent& event );
      00084     
      00085     void on_update_selected_tool_or_menuitem( wxCommandEvent& event );
      00086     void on_update_due_tool_or_menuitem( wxCommandEvent& event );
      00087     void on_update_all_tool_or_menuitem( wxCommandEvent& event );
      00088 
      00089     void on_preferences_tool_or_menuitem( wxCommandEvent& event );
      00090     void on_channel_defaults_tool_or_menuitem( wxCommandEvent& event );
      00091     void on_install_software_tool_or_menuitem( wxCommandEvent& event );
      00092     void on_setup_wizard_tool_or_menuitem( wxCommandEvent& event );
      00093 
      00094     void on_help_contents_tool_or_menuitem( wxCommandEvent& event );
      00095     void on_help_on_this_dialog_tool_or_menuitem( wxCommandEvent& event );
      00096     void on_search_help_tool_or_menuitem( wxCommandEvent& event );
      00097     void on_tip_of_the_day_tool_or_menuitem( wxCommandEvent& event );
      00098     void on_about_tool_or_menuitem( wxCommandEvent& event );
      00099 
      00100     void on_update_ui_channels_tab_listctrl( wxUpdateUIEvent& event );
      00101 
      00103     void on_timer( wxTimerEvent& event );
      00104 
      00107     void on_close( wxCloseEvent& event );
      00108 
      00110     wxIcon          m_icon;
      00111     
      00113     main_listctrl*  m_main_listctrl;
      00114     
      00116     wxTimer         m_timer;
      00117     
      00118     DECLARE_EVENT_TABLE()
      00119     
      00120 };
      00121 
      00122 //----------------------------------------------------------------------------------------
      00123 // End single inclusion of this .h file condition
      00124 //----------------------------------------------------------------------------------------
      00125 
      00126 #endif  // _MAIN_FRAME_H_