-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMyPlugin8.h
36 lines (29 loc) · 895 Bytes
/
MyPlugin8.h
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
#ifndef MYPLUGIN8_H
#define MYPLUGIN8_H
// we include stdio.h only to use the sprintf() function
// we define _CRT_SECURE_NO_WARNINGS for the warnings of the sprintf() function
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include "vdjPlugin8.h"
class CMyPlugin8 : public IVdjPlugin8
{
public:
HRESULT VDJ_API OnLoad();
HRESULT VDJ_API OnGetPluginInfo(TVdjPluginInfo8 *infos);
ULONG VDJ_API Release();
HRESULT VDJ_API OnGetUserInterface(TVdjPluginInterface8 *pluginInterface);
HRESULT VDJ_API OnParameter(int id);
HRESULT VDJ_API OnGetParameterString(int id, char *outParam, int outParamSize);
private:
int m_Reset;
float m_Dry;
float m_Wet;
bool isMasterFX(); // an example of additional function for the use of GetInfo()
protected:
typedef enum _ID_Interface
{
ID_BUTTON_1,
ID_SLIDER_1
} ID_Interface;
};
#endif