foobar2000 SDK  2015-01-14
Public Member Functions
search_filter_managerabstract

#include <search_tools.h>

+ Inheritance diagram for search_filter_manager:

Public Member Functions

virtual search_filter::ptr create (const char *p_query)=0
 
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (search_filter_manager)
 
virtual void get_manual (pfc::string_base &p_out)=0
 
void show_manual ()
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Entrypoint class to instantiate search_filter objects. New in 0.9.5.

Definition at line 43 of file search_tools.h.

Member Function Documentation

virtual search_filter::ptr search_filter_manager::create ( const char *  p_query)
pure virtual

Creates a search_filter object. Throws an exception on failure (such as an error in the query). It's recommended that you relay the exception message to the user if this function fails.

search_filter_manager::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( search_filter_manager  )
virtual void search_filter_manager::get_manual ( pfc::string_base p_out)
pure virtual

Retrieves the search expression manual string. See also: show_manual().

void search_filter_manager::show_manual ( )

Definition at line 3 of file search_tools.cpp.

3  {
4  pfc::string8 temp;
5  get_manual(temp);
6  popup_message::g_show(temp,"Search Expression Reference");
7 }
virtual void get_manual(pfc::string_base &p_out)=0
Retrieves the search expression manual string. See also: show_manual().
static void g_show(const char *p_msg, const char *p_title, t_icon p_icon=icon_information)
Static helper function instantiating the service and activating the message dialog. See show() for description of parameters.
Definition: popup_message.h:26

The documentation for this class was generated from the following files: