foobar2000 SDK  2015-01-14
Public Member Functions
initquit

#include <initquit.h>

+ Inheritance diagram for initquit:

Public Member Functions

 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (initquit)
 
virtual void on_init ()
 
virtual void on_quit ()
 
- 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

Basic callback startup/shutdown callback, on_init is called after the main window has been created, on_quit is called before the main window is destroyed.
To register: static initquit_factory_t<myclass> myclass_factory;
Note that you should be careful with calling other components during on_init/on_quit or
initializing services that are possibly used by other components by on_init/on_quit -
initialization order of components is undefined. If some other service that you publish is not properly functional before you receive an on_init() call,
someone else might call this service before >your< on_init is invoked.

Definition at line 8 of file initquit.h.

Member Function Documentation

initquit::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( initquit  )
virtual void initquit::on_init ( )
inlinevirtual

Reimplemented in myinitquit.

Definition at line 10 of file initquit.h.

10 {}
virtual void initquit::on_quit ( )
inlinevirtual

Reimplemented in myinitquit.

Definition at line 11 of file initquit.h.

11 {}

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