X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_menu.h;h=fccd5f38a4b714070f7c2db7f6f4822be446313c;hb=22b9f3b2090d8bdfe52cda1e69d3acbe874f1ce5;hp=127fbea1a2ee05b4e9508772d5425d48f1ab3ccf;hpb=a2fd8a4e3750cfa3ff7be305b4052a0699a3ffee;p=dcpomatic.git diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h index 127fbea1a..fccd5f38a 100644 --- a/src/wx/content_menu.h +++ b/src/wx/content_menu.h @@ -30,19 +30,29 @@ class Film; class ContentMenu { public: - ContentMenu (boost::shared_ptr, wxWindow *); + ContentMenu (wxWindow* p); ~ContentMenu (); - - void popup (ContentList, wxPoint); + + void popup (boost::weak_ptr, ContentList, wxPoint); private: - void repeat (wxCommandEvent &); - void remove (wxCommandEvent &); + void repeat (); + void join (); + void find_missing (); + void kdm (); + void remove (); + void maybe_found_missing (boost::weak_ptr, boost::weak_ptr, boost::weak_ptr); wxMenu* _menu; + /** Film that we are working with; set up by popup() */ boost::weak_ptr _film; wxWindow* _parent; ContentList _content; + wxMenuItem* _repeat; + wxMenuItem* _join; + wxMenuItem* _find_missing; + wxMenuItem* _kdm; + wxMenuItem* _remove; }; #endif