RavEngine
Loading...
Searching...
No Matches
wwise_room_effects_attachment_plugin.h
1/*
2Copyright 2018 Google Inc. All Rights Reserved.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS-IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17#ifndef RESONANCE_AUDIO_PLATFORM_WWISE_WWISE_ROOM_EFFECTS_ATTACHMENT_PLUGIN_H_
18#define RESONANCE_AUDIO_PLATFORM_WWISE_WWISE_ROOM_EFFECTS_ATTACHMENT_PLUGIN_H_
19
20#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be
21 // explicit
22
23#ifndef _AFX_NO_OLE_SUPPORT
24#include <afxdisp.h> // MFC Automation classes
25#include <afxodlgs.h> // MFC OLE dialog classes
26#include <afxole.h> // MFC OLE classes
27#endif // _AFX_NO_OLE_SUPPORT
28
29#ifndef _AFX_NO_DB_SUPPORT
30#include <afxdb.h> // MFC ODBC database classes
31#endif // _AFX_NO_DB_SUPPORT
32
33#ifndef _AFX_NO_DAO_SUPPORT
34#include <afxdao.h> // MFC DAO database classes
35#endif // _AFX_NO_DAO_SUPPORT
36
37#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
38#ifndef _AFX_NO_AFXCMN_SUPPORT
39#include <afxcmn.h> // MFC support for Windows Common Controls
40#endif // _AFX_NO_AFXCMN_SUPPORT
41
42#include "AK/Wwise/AudioPlugin.h"
43
44namespace vraudio {
45namespace wwise {
46
48 : public AK::Wwise::DefaultAudioPluginImplementation {
49 public:
51
52 // Implements AK::Wwise::IPluginBase.
53 virtual void Destroy();
54
55 // Implements AK::Wwise::IAudioPlugin.
56 virtual void SetPluginPropertySet(
57 AK::Wwise::IPluginPropertySet* plugin_property_set);
58 virtual HINSTANCE GetResourceHandle() const;
59 virtual bool GetDialog(
60 eDialog dialog, UINT& dialog_id,
61 AK::Wwise::PopulateTableItem*& populate_table_item) const;
62 virtual bool WindowProc(eDialog dialog, HWND property_view, UINT message,
63 WPARAM wparam, LPARAM lparam,
64 LRESULT& result);
65 virtual bool GetBankParameters(const GUID& platform_guid,
66 AK::Wwise::IWriteData* data_writer) const;
67
68 private:
69 // Pointer to plugin property set.
70 AK::Wwise::IPluginPropertySet* property_set_;
71
72 // Handle for plugin property view.
73 HWND property_view_;
74};
75
76} // namespace wwise
77} // namespace vraudio
78
79#endif // RESONANCE_AUDIO_PLATFORM_WWISE_WWISE_ROOM_EFFECTS_ATTACHMENT_PLUGIN_H_
80
Definition wwise_room_effects_attachment_plugin.h:48