X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Frecipients_panel.h;h=0b2a6a4b7aa9752d3ec29e7afd9318236852bbb8;hb=HEAD;hp=b33b7ebc88e6e6749f831cfdeae9353500ee584b;hpb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;p=dcpomatic.git diff --git a/src/wx/recipients_panel.h b/src/wx/recipients_panel.h index b33b7ebc8..6e1f1408f 100644 --- a/src/wx/recipients_panel.h +++ b/src/wx/recipients_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2020 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,20 +18,23 @@ */ + +#include "lib/collator.h" #include "lib/dkdm_recipient.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS -#include +#include +LIBDCP_DISABLE_WARNINGS #include #include -DCPOMATIC_ENABLE_WARNINGS -#include +#include +LIBDCP_ENABLE_WARNINGS #include #include #include + class DKDMRecipient; + class RecipientsPanel : public wxPanel { public: @@ -40,12 +43,12 @@ public: void setup_sensitivity (); - std::list > recipients () const; + std::list> recipients () const; boost::signals2::signal RecipientsChanged; private: void add_recipients (); - void add_recipient (boost::shared_ptr); + void add_recipient (std::shared_ptr); void add_recipient_clicked (); void edit_recipient_clicked (); void remove_recipient_clicked (); @@ -60,9 +63,11 @@ private: wxButton* _remove_recipient; wxTreeItemId _root; - typedef std::map > RecipientMap; + typedef std::map> RecipientMap; RecipientMap _recipients; RecipientMap _selected; bool _ignore_selection_change; + + Collator _collator; };