foobar2000 SDK
2015-08-03
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
foobar2000
foo_sample
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
15
static
initquit_factory_t<myinitquit>
g_myinitquit_factory
;
initquit_factory_t
Definition:
initquit.h:17
myinitquit::on_init
void on_init()
Definition:
initquit.cpp:7
console::print
void print(const char *)
Definition:
console.cpp:28
myinitquit
Definition:
initquit.cpp:5
g_myinitquit_factory
static initquit_factory_t< myinitquit > g_myinitquit_factory
Definition:
initquit.cpp:15
myinitquit::on_quit
void on_quit()
Definition:
initquit.cpp:10
initquit
Basic callback startup/shutdown callback, on_init is called after the main window has been created...
Definition:
initquit.h:8
Generated by
1.8.11