forked from stuerp/foo_vis_spectrum_analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComponent.cpp
More file actions
45 lines (36 loc) · 988 Bytes
/
Component.cpp
File metadata and controls
45 lines (36 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** $VER: Component.cpp (2024.01.05) P. Stuer **/
#include "framework.h"
#include <sdk/componentversion.h>
#include "Resources.h"
#pragma hdrstop
namespace
{
#pragma warning(disable: 4265 5026 5027 26433 26436 26455)
DECLARE_COMPONENT_VERSION
(
STR_COMPONENT_NAME,
STR_COMPONENT_VERSION,
STR_COMPONENT_BASENAME " " STR_COMPONENT_VERSION "\n"
STR_COMPONENT_COPYRIGHT "\n"
"\n"
STR_COMPONENT_DESCRIPTION "\n"
STR_COMPONENT_COMMENT "\n"
"\n"
"Built with foobar2000 SDK " TOSTRING(FOOBAR2000_SDK_VERSION) "\n"
"on " __DATE__ " " __TIME__ "."
)
VALIDATE_COMPONENT_FILENAME(STR_COMPONENT_FILENAME)
}
class Component : public initquit
{
public:
virtual void FB2KAPI on_init()
{
if (core_api::is_quiet_mode_enabled())
return;
}
virtual void FB2KAPI on_quit()
{
}
};
static initquit_factory_t<Component> _Component;