projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: extract sorted_cinemas().
[dcpomatic.git]
/
src
/
wx
/
screens_panel.h
diff --git
a/src/wx/screens_panel.h
b/src/wx/screens_panel.h
index e9cd8454dcd39af0968ba45c69441626f255fb7c..b469c19e307dc49d32758588c33489cc32127f80 100644
(file)
--- a/
src/wx/screens_panel.h
+++ b/
src/wx/screens_panel.h
@@
-74,6
+74,9
@@
private:
bool notify_cinemas_changed();
void clear_and_re_add();
void config_changed(Config::Property);
bool notify_cinemas_changed();
void clear_and_re_add();
void config_changed(Config::Property);
+ void convert_to_lower(std::string& s);
+ bool matches_search(std::shared_ptr<const Cinema> cinema, std::string lower_case_search);
+ std::list<std::shared_ptr<Cinema>> sorted_cinemas() const;
std::shared_ptr<Cinema> item_to_cinema (wxTreeListItem item) const;
std::shared_ptr<dcpomatic::Screen> item_to_screen (wxTreeListItem item) const;
std::shared_ptr<Cinema> item_to_cinema (wxTreeListItem item) const;
std::shared_ptr<dcpomatic::Screen> item_to_screen (wxTreeListItem item) const;