projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Windows #include.
[dcpomatic.git]
/
src
/
wx
/
content_menu.h
diff --git
a/src/wx/content_menu.h
b/src/wx/content_menu.h
index 9aaf9d59fc075beb7eb476ac2aa50cd19f393618..a38109b0738e84914139a38ca0350c47b6c54604 100644
(file)
--- a/
src/wx/content_menu.h
+++ b/
src/wx/content_menu.h
@@
-29,12
+29,12
@@
class Film;
class Job;
class Film;
class Job;
+class DCPContent;
class ContentMenu : public boost::noncopyable
{
public:
class ContentMenu : public boost::noncopyable
{
public:
- ContentMenu (wxWindow* p);
- ~ContentMenu ();
+ explicit ContentMenu (wxWindow* p);
void popup (boost::weak_ptr<Film>, ContentList, TimelineContentViewList, wxPoint);
void popup (boost::weak_ptr<Film>, ContentList, TimelineContentViewList, wxPoint);
@@
-48,11
+48,14
@@
private:
void ov ();
void remove ();
void maybe_found_missing (boost::weak_ptr<Job>, boost::weak_ptr<Content>, boost::weak_ptr<Content>);
void ov ();
void remove ();
void maybe_found_missing (boost::weak_ptr<Job>, boost::weak_ptr<Content>, boost::weak_ptr<Content>);
+ void cpl_selected (wxCommandEvent& ev);
wxMenu* _menu;
wxMenu* _menu;
+ wxMenu* _cpl_menu;
/** Film that we are working with; set up by popup() */
boost::weak_ptr<Film> _film;
wxWindow* _parent;
/** Film that we are working with; set up by popup() */
boost::weak_ptr<Film> _film;
wxWindow* _parent;
+ bool _pop_up_open;
ContentList _content;
TimelineContentViewList _views;
wxMenuItem* _repeat;
ContentList _content;
TimelineContentViewList _views;
wxMenuItem* _repeat;
@@
-62,9
+65,8
@@
private:
wxMenuItem* _re_examine;
wxMenuItem* _kdm;
wxMenuItem* _ov;
wxMenuItem* _re_examine;
wxMenuItem* _kdm;
wxMenuItem* _ov;
+ wxMenuItem* _choose_cpl;
wxMenuItem* _remove;
wxMenuItem* _remove;
-
- boost::signals2::scoped_connection _job_connection;
};
#endif
};
#endif