From 7f8062032e16d9c9cfc28659a6da67f8205dc27b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 9 Jan 2013 21:41:06 +0000 Subject: Basic cinema / screen database. --- src/wx/kdm_dialog.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'src/wx/kdm_dialog.h') diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index d45d4bef8..4e449cee3 100644 --- a/src/wx/kdm_dialog.h +++ b/src/wx/kdm_dialog.h @@ -40,12 +40,23 @@ private: void add_cinema (boost::shared_ptr); void add_screen (boost::shared_ptr, boost::shared_ptr); void targets_selection_changed (wxCommandEvent &); - void new_cinema_clicked (wxCommandEvent &); - void new_screen_clicked (wxCommandEvent &); + void add_cinema_clicked (wxCommandEvent &); + void edit_cinema_clicked (wxCommandEvent &); + void remove_cinema_clicked (wxCommandEvent &); + void add_screen_clicked (wxCommandEvent &); + void edit_screen_clicked (wxCommandEvent &); + void remove_screen_clicked (wxCommandEvent &); + std::list > > selected_cinemas () const; + std::list > > selected_screens () const; + void setup_sensitivity (); wxTreeCtrl* _targets; - wxButton* _new_cinema; - wxButton* _new_screen; + wxButton* _add_cinema; + wxButton* _edit_cinema; + wxButton* _remove_cinema; + wxButton* _add_screen; + wxButton* _edit_screen; + wxButton* _remove_screen; wxDatePickerCtrl* _from_date; wxDatePickerCtrl* _to_date; wxTimePickerCtrl* _from_time; -- cgit v1.2.3