2018-11-30 22:52:05 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
2006-10-19 23:52:34 +04:00
|
|
|
*
|
2012-05-21 15:12:37 +04:00
|
|
|
* 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/. */
|
2006-10-19 23:52:34 +04:00
|
|
|
|
2007-01-18 09:34:07 +03:00
|
|
|
#ifndef nsSound_h_
|
|
|
|
#define nsSound_h_
|
2006-10-19 23:52:34 +04:00
|
|
|
|
|
|
|
#include "nsISound.h"
|
|
|
|
#include "nsIStreamLoader.h"
|
|
|
|
|
|
|
|
class nsSound : public nsISound, public nsIStreamLoaderObserver {
|
|
|
|
public:
|
2006-10-20 01:05:54 +04:00
|
|
|
nsSound();
|
2006-10-19 23:52:34 +04:00
|
|
|
|
2006-10-20 01:05:54 +04:00
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSISOUND
|
|
|
|
NS_DECL_NSISTREAMLOADEROBSERVER
|
2014-07-06 19:25:31 +04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual ~nsSound();
|
2006-10-19 23:52:34 +04:00
|
|
|
};
|
|
|
|
|
2007-01-18 09:34:07 +03:00
|
|
|
#endif // nsSound_h_
|