widget/gtk/nsSound.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/widget/gtk/nsSound.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     1.5 +/* vim:expandtab:shiftwidth=4:tabstop=4:
     1.6 + */
     1.7 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.9 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    1.10 +
    1.11 +#ifndef __nsSound_h__
    1.12 +#define __nsSound_h__
    1.13 +
    1.14 +#include "nsISound.h"
    1.15 +#include "nsIStreamLoader.h"
    1.16 +
    1.17 +#include <gtk/gtk.h>
    1.18 +
    1.19 +class nsSound : public nsISound, 
    1.20 +                public nsIStreamLoaderObserver
    1.21 +{ 
    1.22 +public: 
    1.23 +    nsSound(); 
    1.24 +    virtual ~nsSound();
    1.25 +
    1.26 +    static void Shutdown();
    1.27 +
    1.28 +    NS_DECL_ISUPPORTS
    1.29 +    NS_DECL_NSISOUND
    1.30 +    NS_DECL_NSISTREAMLOADEROBSERVER
    1.31 +
    1.32 +private:
    1.33 +    bool mInited;
    1.34 +
    1.35 +};
    1.36 +
    1.37 +#endif /* __nsSound_h__ */

mercurial