#include <wx/wx.h>
#include <wx/preferences.h>
#include <wx/filepicker.h>
+#ifdef __WXOSX__
+#include <ApplicationServices/ApplicationServices.h>
+#endif
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
using std::exception;
using std::list;
+using std::string;
using boost::shared_ptr;
using boost::bind;
enum {
- ID_help_report_a_problem,
+ ID_help_report_a_problem = 1,
};
class DOMFrame : public wxFrame
wxString::Format (s, int(screen_kdms.size()), std_to_wx(_output->directory().string()).data())
);
} else {
+ string film_name = decrypted.annotation_text ();
+ if (film_name.empty ()) {
+ film_name = decrypted.content_title_text ();
+ }
shared_ptr<Job> job (new SendKDMEmailJob (
- decrypted.annotation_text(),
+ film_name,
decrypted.content_title_text(),
_timing->from(), _timing->until(),
CinemaKDMs::collect (screen_kdms)