foobar2000 SDK  2015-01-14
link_resolver.h
Go to the documentation of this file.
1 #ifndef _foobar2000_sdk_link_resolver_h_
2 #define _foobar2000_sdk_link_resolver_h_
3 
7 
8 class NOVTABLE link_resolver : public service_base
9 {
10 public:
11 
15  virtual bool is_our_path(const char * p_path,const char * p_extension) = 0;
16 
22  virtual void resolve(service_ptr_t<file> p_filehint,const char * p_path,pfc::string_base & p_out,abort_callback & p_abort) = 0;
23 
28  static bool g_find(service_ptr_t<link_resolver> & p_out,const char * p_path);
29 
30  FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(link_resolver);
31 };
32 
33 #endif //_foobar2000_sdk_link_resolver_h_
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Definition: service.h:333