michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsAutoPtr.h" michael@0: #include "nsString.h" michael@0: michael@0: namespace mozilla { michael@0: namespace widget { michael@0: michael@0: // Start the audio session in the current process michael@0: nsresult StartAudioSession(); michael@0: michael@0: // Pass the information necessary to start an audio session in another process michael@0: nsresult GetAudioSessionData(nsID& aID, michael@0: nsString& aSessionName, michael@0: nsString& aIconPath); michael@0: michael@0: // Receive the information necessary to start an audio session in a non-chrome michael@0: // process michael@0: nsresult RecvAudioSessionData(const nsID& aID, michael@0: const nsString& aSessionName, michael@0: const nsString& aIconPath); michael@0: michael@0: // Stop the audio session in the current process michael@0: nsresult StopAudioSession(); michael@0: michael@0: } // namespace widget michael@0: } // namespace mozilla