1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 * 3 * This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef nsSound_h_ 8 #define nsSound_h_ 9 10 #include "nsISound.h" 11 #include "nsIStreamLoader.h" 12 13 class nsSound : public nsISound, public nsIStreamLoaderObserver { 14 public: 15 nsSound(); 16 17 NS_DECL_ISUPPORTS 18 NS_DECL_NSISOUND 19 NS_DECL_NSISTREAMLOADEROBSERVER 20 21 protected: 22 virtual ~nsSound(); 23 }; 24 25 #endif // nsSound_h_ 26