Menu
Home
Blog
Add-ons
Forum
Wiki
Developers
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
components
mediacore
base
src
sbVideoBox.h
Go to the documentation of this file.
1
/*
2
*=BEGIN SONGBIRD GPL
3
*
4
* This file is part of the Songbird web player.
5
*
6
* Copyright(c) 2005-2010 POTI, Inc.
7
* http://www.songbirdnest.com
8
*
9
* This file may be licensed under the terms of of the
10
* GNU General Public License Version 2 (the ``GPL'').
11
*
12
* Software distributed under the License is distributed
13
* on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14
* express or implied. See the GPL for the specific language
15
* governing rights and limitations.
16
*
17
* You should have received a copy of the GPL along with this
18
* program. If not, go to http://www.gnu.org/licenses/gpl.html
19
* or write to the Free Software Foundation, Inc.,
20
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
*
22
*=END SONGBIRD GPL
23
*/
24
25
#ifndef __SB_VIDEOBOX_H__
26
#define __SB_VIDEOBOX_H__
27
28
#include <sbIVideoBox.h>
29
#include <nsAutoLock.h>
30
31
class
sbVideoBox
:
public
sbIVideoBox
32
{
33
public
:
34
NS_DECL_ISUPPORTS
35
NS_DECL_SBIVIDEOBOX
36
37
sbVideoBox
();
38
39
nsresult
Init
(PRUint32
aWidth
,
40
PRUint32
aHeight
,
41
PRUint32 aParNumerator = 1,
42
PRUint32 aParDenominator = 1);
43
44
protected
:
45
virtual
~sbVideoBox
();
46
47
PRUint32
mPARNumerator
;
48
PRUint32
mPARDenominator
;
49
50
PRUint32
mWidth
;
51
PRUint32
mHeight
;
52
};
53
54
#endif
/* __SB_VIDEOBOX_H__ */
sbVideoBox::~sbVideoBox
virtual ~sbVideoBox()
Definition:
sbVideoBox.cpp:54
sbVideoBox::mPARDenominator
PRUint32 mPARDenominator
Definition:
sbVideoBox.h:48
aWidth
restoreDimensions aWidth
Definition:
nsSessionStore.js:2429
sbVideoBox::mPARNumerator
PRUint32 mPARNumerator
Definition:
sbVideoBox.h:47
sbIVideoBox
Definition:
sbIVideoBox.idl:28
sbVideoBox::mHeight
PRUint32 mHeight
Definition:
sbVideoBox.h:51
aHeight
restoreDimensions aHeight
Definition:
nsSessionStore.js:2429
sbVideoBox::Init
nsresult Init(PRUint32 aWidth, PRUint32 aHeight, PRUint32 aParNumerator=1, PRUint32 aParDenominator=1)
Definition:
sbVideoBox.cpp:60
sbVideoBox
Definition:
sbVideoBox.h:31
sbVideoBox::sbVideoBox
NS_DECL_ISUPPORTS NS_DECL_SBIVIDEOBOX sbVideoBox()
sbVideoBox::mWidth
PRUint32 mWidth
Definition:
sbVideoBox.h:50
NS_DECL_ISUPPORTS
NS_DECL_ISUPPORTS
Definition:
sbPlaylistCommandsHelper.cpp:49