Mercurial > foo_out_sdl
comparison foosdk/sdk/foobar2000/foo_sample/initquit.cpp @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:e9bb126753e7 | 1:20d02a178406 |
|---|---|
| 1 #include "stdafx.h" | |
| 2 | |
| 3 namespace { | |
| 4 // Sample initquit implementation. See also: initquit class documentation in relevant header. | |
| 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 FB2K_SERVICE_FACTORY( myinitquit ); | |
| 16 | |
| 17 } // namespace |
