X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_menu.h;h=a0ac3f48148730bb01c24414c13b4fc4131c5be4;hb=258da8a37c21a87ba5a7aa1c3e6243280d5c8d10;hp=77cf29a3057400d523ff3449a2ce96cb2f8d8679;hpb=c6c082c4a8016f85ba4207f4b8ccee1d5770e4a4;p=dcpomatic.git diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h index 77cf29a30..a0ac3f481 100644 --- a/src/wx/content_menu.h +++ b/src/wx/content_menu.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington + Copyright (C) 2013-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,25 +20,28 @@ #ifndef DCPOMATIC_CONTENT_MENU_H #define DCPOMATIC_CONTENT_MENU_H +#include "timeline_content_view.h" +#include "lib/types.h" #include #include #include -#include "lib/types.h" class Film; +class Job; -class ContentMenu +class ContentMenu : public boost::noncopyable { public: ContentMenu (wxWindow* p); ~ContentMenu (); - void popup (boost::weak_ptr, ContentList, wxPoint); + void popup (boost::weak_ptr, ContentList, TimelineContentViewList, wxPoint); private: void repeat (); void join (); void find_missing (); + void properties (); void re_examine (); void kdm (); void remove (); @@ -49,12 +52,16 @@ private: boost::weak_ptr _film; wxWindow* _parent; ContentList _content; + TimelineContentViewList _views; wxMenuItem* _repeat; wxMenuItem* _join; wxMenuItem* _find_missing; + wxMenuItem* _properties; wxMenuItem* _re_examine; wxMenuItem* _kdm; wxMenuItem* _remove; + + boost::signals2::scoped_connection _job_connection; }; #endif