RavEngine
Loading...
Searching...
No Matches
wwise_renderer_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_RENDERER_PLUGIN_H_
18#define RESONANCE_AUDIO_PLATFORM_WWISE_WWISE_RENDERER_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
47class WwiseRendererPlugin : public AK::Wwise::DefaultAudioPluginImplementation {
48 public:
50
51 // Implements AK::Wwise::IPluginBase.
52 virtual void Destroy();
53
54 // Implements AK::Wwise::IAudioPlugin.
55 virtual void SetPluginPropertySet(
56 AK::Wwise::IPluginPropertySet* plugin_property_set);
57 virtual HINSTANCE GetResourceHandle() const;
58 virtual bool GetDialog(
59 eDialog dialog, UINT& dialog_id,
60 AK::Wwise::PopulateTableItem*& populate_table_item) const;
61 virtual bool WindowProc(eDialog dialog, HWND property_view, UINT message,
62 WPARAM wparam, LPARAM lparam,
63 LRESULT& result);
64 virtual bool GetBankParameters(const GUID& platform_guid,
65 AK::Wwise::IWriteData* data_writer) const;
66
67 private:
68 // Pointer to plugin property set.
69 AK::Wwise::IPluginPropertySet* property_set_;
70
71 // Handle for plugin property view.
72 HWND property_view_;
73};
74
75} // namespace wwise
76} // namespace vraudio
77
78#endif // RESONANCE_AUDIO_PLATFORM_WWISE_WWISE_RENDERER_PLUGIN_H_
Definition wwise_renderer_plugin.h:47