gecko-dev/dom/plugins/ipc/PluginUtilsWin.h
David Parks 17683f933c Bug 1251202 - Implement Default Audio Device Notifications for NPAPI plugins on Windows. r=jimm
Adds plugin variables NPPVpluginRequiresAudioDeviceChanges and NPNVaudioDeviceChangeDetails on Windows.

--HG--
extra : rebase_source : ff18bbca9772352b18be1dfcde90570775e8d5cc
2016-09-19 14:05:41 -07:00

24 lines
761 B
C++

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
// vim:set ts=2 sts=2 sw=2 et cin:
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef dom_plugins_PluginUtilsWin_h
#define dom_plugins_PluginUtilsWin_h 1
#include "npapi.h"
namespace mozilla {
namespace plugins {
namespace PluginUtilsWin {
nsresult RegisterForAudioDeviceChanges(PluginModuleParent* aModuleParent,
bool aShouldRegister);
} // namespace PluginUtilsWin
} // namespace plugins
} // namespace mozilla
#endif //dom_plugins_PluginUtilsWin_h