Factor out some common stuff and give a better tooltip on the 'refer' buttons when...
[dcpomatic.git] / src / wx / content_sub_panel.h
index 5a1b739ef30cac9a0015a444c79019e0eff9a8cb..0ad628f0c284e212c1cafa15706853e989075c4e 100644 (file)
@@ -26,6 +26,7 @@
 
 class ContentPanel;
 class Content;
+class DCPContent;
 
 class ContentSubPanel : public wxPanel
 {
@@ -39,6 +40,9 @@ public:
        virtual void content_selection_changed () = 0;
 
 protected:
+
+       void setup_refer_button (wxCheckBox* button, boost::shared_ptr<DCPContent> dcp, bool can_reference, std::list<std::string> why_not) const;
+
        ContentPanel* _parent;
        wxSizer* _sizer;
 };