foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
componentversion_impl_copy

#include <componentversion.h>

+ Inheritance diagram for componentversion_impl_copy:

Public Member Functions

 componentversion_impl_copy (const char *p_name, const char *p_version, const char *p_about)
 
virtual void get_about_message (pfc::string_base &out)
 
virtual void get_component_name (pfc::string_base &out)
 
virtual void get_component_version (pfc::string_base &out)
 
virtual void get_file_name (pfc::string_base &out)
 
- Public Member Functions inherited from componentversion
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (componentversion)
 
- 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 ()
 

Private Attributes

pfc::string8 about
 
pfc::string8 name
 
pfc::string8 version
 

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

Implementation helper. You typically want to use DECLARE_COMPONENT_VERSION() instead.

Definition at line 25 of file componentversion.h.

Constructor & Destructor Documentation

componentversion_impl_copy::componentversion_impl_copy ( const char *  p_name,
const char *  p_version,
const char *  p_about 
)
inlineexplicit

Definition at line 33 of file componentversion.h.

33 : name(p_name), version(p_version), about(p_about ? p_about : "") {}

Member Function Documentation

virtual void componentversion_impl_copy::get_about_message ( pfc::string_base out)
inlinevirtual

Implements componentversion.

Definition at line 32 of file componentversion.h.

32 {out.set_string(about);}
virtual void set_string(const char *p_string, t_size p_length=~0)
Definition: string_base.h:198
virtual void componentversion_impl_copy::get_component_name ( pfc::string_base out)
inlinevirtual

Implements componentversion.

Definition at line 30 of file componentversion.h.

30 {out.set_string(name);}
virtual void set_string(const char *p_string, t_size p_length=~0)
Definition: string_base.h:198
virtual void componentversion_impl_copy::get_component_version ( pfc::string_base out)
inlinevirtual

Implements componentversion.

Definition at line 31 of file componentversion.h.

31 {out.set_string(version);}
virtual void set_string(const char *p_string, t_size p_length=~0)
Definition: string_base.h:198
virtual void componentversion_impl_copy::get_file_name ( pfc::string_base out)
inlinevirtual

Implements componentversion.

Definition at line 29 of file componentversion.h.

const char * get_my_file_name()
Retrieves filename of calling dll, excluding extension, e.g. "foo_asdf".
virtual void set_string(const char *p_string, t_size p_length=~0)
Definition: string_base.h:198

Field Documentation

pfc::string8 componentversion_impl_copy::about
private

Definition at line 26 of file componentversion.h.

pfc::string8 componentversion_impl_copy::name
private

Definition at line 26 of file componentversion.h.

pfc::string8 componentversion_impl_copy::version
private

Definition at line 26 of file componentversion.h.


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