00001 #ifndef __FOOBAR2000_HELPER_WILDCARD_H__ 00002 #define __FOOBAR2000_HELPER_WILDCARD_H__ 00003 00004 namespace wildcard_helper 00005 { 00006 bool test_path(const char * path,const char * pattern,bool b_separate_by_semicolon = false);//will extract filename from path first 00007 bool test(const char * str,const char * pattern,bool b_separate_by_semicolon = false);//tests if str matches pattern 00008 bool has_wildcards(const char * str); 00009 }; 00010 00011 00012 00013 #endif //__FOOBAR2000_HELPER_WILDCARD_H__
1.5.5