foobar2000 SDK  2015-08-03
wildcard.h
Go to the documentation of this file.
1 namespace wildcard_helper
2 {
3  bool test_path(const char * path,const char * pattern,bool b_separate_by_semicolon = false);//will extract filename from path first
4  bool test(const char * str,const char * pattern,bool b_separate_by_semicolon = false);//tests if str matches pattern
5  bool has_wildcards(const char * str);
6  const char * get_wildcard_list();
7  bool is_wildcard(char c);
8 };
bool has_wildcards(const char *str)
Definition: wildcard.cpp:44
bool test(const char *str, const char *pattern, bool b_separate_by_semicolon=false)
Definition: wildcard.cpp:26
const char * get_wildcard_list()
Definition: wildcard.cpp:46
bool is_wildcard(char c)
Definition: wildcard.cpp:48
bool test_path(const char *path, const char *pattern, bool b_separate_by_semicolon=false)
Definition: wildcard.cpp:24