X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=3518dc63fc4ea4a62985d03c161d9f260433e6c8;hp=21463fdb5bc44500ca16827acbfc6f766ee06b7c;hb=86bbc0981a60ad9ba7b7bdbf28a34f197f83f6cb;hpb=8c397a895b1204473ebd8df5108563b1dd0a4e1c diff --git a/src/lib/config.h b/src/lib/config.h index 21463fdb5..3518dc63f 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -861,7 +861,9 @@ public: } void add_to_history (boost::filesystem::path p); + void clean_history (); void add_to_player_history (boost::filesystem::path p); + void clean_player_history (); void set_jump_to_selected (bool j) { maybe_set (_jump_to_selected, j); @@ -1099,6 +1101,7 @@ private: boost::shared_ptr create_certificate_chain (); boost::filesystem::path directory_or (boost::optional dir, boost::filesystem::path a) const; void add_to_history_internal (std::vector& h, boost::filesystem::path p); + void clean_history_internal (std::vector& h); void backup (); template