foobar2000 SDK  2015-08-03
initquit.cpp
Go to the documentation of this file.
1 #include "stdafx.h"
2 
3 // Sample initquit implementation. See also: initquit class documentation in relevant header.
4 
5 class myinitquit : public initquit {
6 public:
7  void on_init() {
8  console::print("Sample component: on_init()");
9  }
10  void on_quit() {
11  console::print("Sample component: on_quit()");
12  }
13 };
14 
void on_init()
Definition: initquit.cpp:7
void print(const char *)
Definition: console.cpp:28
static initquit_factory_t< myinitquit > g_myinitquit_factory
Definition: initquit.cpp:15
void on_quit()
Definition: initquit.cpp:10
Basic callback startup/shutdown callback, on_init is called after the main window has been created...
Definition: initquit.h:8