summaryrefslogtreecommitdiff
path: root/src/wx/content_menu.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-22 21:06:41 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-22 21:06:41 +0100
commit080da912e04d156d9260a3a5eead9034d2a72af3 (patch)
tree2ebf01d3a283bd2780a3b5b25e6b3bcefb504c9e /src/wx/content_menu.h
parent119178eddf7aa38083862a913e8519591b5b01a0 (diff)
Allow films to be loaded when content is missing.
Diffstat (limited to 'src/wx/content_menu.h')
-rw-r--r--src/wx/content_menu.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h
index 127fbea1a..2a6725320 100644
--- a/src/wx/content_menu.h
+++ b/src/wx/content_menu.h
@@ -36,13 +36,18 @@ public:
void popup (ContentList, wxPoint);
private:
- void repeat (wxCommandEvent &);
- void remove (wxCommandEvent &);
+ void repeat ();
+ void find_missing ();
+ void remove ();
+ void maybe_found_missing (boost::weak_ptr<Job>, boost::weak_ptr<Content>, boost::weak_ptr<Content>);
wxMenu* _menu;
boost::weak_ptr<Film> _film;
wxWindow* _parent;
ContentList _content;
+ wxMenuItem* _repeat;
+ wxMenuItem* _find_missing;
+ wxMenuItem* _remove;
};
#endif