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
transcode
src
sbTranscodeProfileAttribute.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_TRANSCODEPROFILEATTRIBUTE_H_
26
#define _SB_TRANSCODEPROFILEATTRIBUTE_H_
27
28
#include <sbITranscodeProfile.h>
29
30
#include <nsCOMPtr.h>
31
#include <nsStringGlue.h>
32
33
class
nsIVariant;
34
35
class
sbTranscodeProfileAttribute
:
public
sbITranscodeProfileAttribute
36
{
37
public
:
38
NS_DECL_ISUPPORTS
39
NS_DECL_SBITRANSCODEPROFILEATTRIBUTE
40
41
sbTranscodeProfileAttribute
();
42
43
// setters
44
nsresult
SetName
(
const
nsAString &
aName
);
45
nsresult
SetValue
(nsIVariant *
aValue
);
46
47
private
:
48
virtual
~sbTranscodeProfileAttribute();
49
50
protected
:
51
/* The name of the attribute */
52
nsString
mName
;
53
54
/* The value of this attribute */
55
nsCOMPtr<nsIVariant>
mValue
;
56
57
};
58
59
#endif
/* _SB_TRANSCODEPROFILEATTRIBUTE_H_ */
sbTranscodeProfileAttribute::mValue
nsCOMPtr< nsIVariant > mValue
Definition:
sbTranscodeProfileAttribute.h:55
aValue
onPageChanged aValue
Definition:
FeedWriter.js:1395
sbTranscodeProfileAttribute::SetName
nsresult SetName(const nsAString &aName)
Definition:
sbTranscodeProfileAttribute.cpp:41
sbTranscodeProfileAttribute
Definition:
sbTranscodeProfileAttribute.h:35
sbITranscodeProfileAttribute
Definition:
sbITranscodeProfile.idl:235
aName
_updateCookies aName
Definition:
nsSessionStore.js:1629
sbTranscodeProfileAttribute::sbTranscodeProfileAttribute
NS_DECL_ISUPPORTS NS_DECL_SBITRANSCODEPROFILEATTRIBUTE sbTranscodeProfileAttribute()
NS_DECL_ISUPPORTS
NS_DECL_ISUPPORTS
Definition:
sbPlaylistCommandsHelper.cpp:49
sbTranscodeProfileAttribute::mName
nsString mName
Definition:
sbTranscodeProfileAttribute.h:52
sbTranscodeProfileAttribute::SetValue
nsresult SetValue(nsIVariant *aValue)
Definition:
sbTranscodeProfileAttribute.cpp:48