X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Frecipients_panel.h;h=6e1f1408ffb6603dd5b821501f5918d1e4bd8dc3;hb=c36609cf83b825110e9b5472ba8b8ada4b10c1cd;hp=b33b7ebc88e6e6749f831cfdeae9353500ee584b;hpb=2da4caba7871455c097c0ed940dd6f2332dbda5d;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; };