30 #include <nsIVariant.h>
37 mScale(NS_LITERAL_CSTRING("1/1"))
41 sbTranscodeProfileProperty::~sbTranscodeProfileProperty()
89 sbTranscodeProfileProperty::GetPropertyName(nsAString & aPropertyName)
97 sbTranscodeProfileProperty::GetValueMin(nsIVariant * *aValueMin)
99 NS_ENSURE_ARG_POINTER(aValueMin);
106 sbTranscodeProfileProperty::GetValueMax(nsIVariant * *aValueMax)
108 NS_ENSURE_ARG_POINTER(aValueMax);
115 sbTranscodeProfileProperty::GetValue(nsIVariant * *
aValue)
117 NS_ENSURE_ARG_POINTER(aValue);
118 NS_IF_ADDREF(*aValue =
mValue);
122 sbTranscodeProfileProperty::SetValue(nsIVariant *
aValue)
130 sbTranscodeProfileProperty::GetHidden(PRBool *aHidden)
132 NS_ENSURE_ARG_POINTER(aHidden);
139 sbTranscodeProfileProperty::GetMapping(nsACString & aMapping)
147 sbTranscodeProfileProperty::GetScale(nsACString & aScale)
nsresult SetValueMax(nsIVariant *aValueMax)
nsresult SetValueMin(nsIVariant *aValueMin)
nsCOMPtr< nsIVariant > mValueMin
nsresult SetMapping(const nsACString &aMapping)
PRBool mHidden
If true, this property should not be output (instead it should be used for calcuating a different pro...
NS_IMPL_THREADSAFE_ISUPPORTS1(sbTranscodeProfileProperty, sbITranscodeProfileProperty) sbTranscodeProfileProperty
nsresult SetPropertyName(const nsAString &aPropertyName)
nsresult SetHidden(const PRBool aHidden)
nsCOMPtr< nsIVariant > mValue
nsCOMPtr< nsIVariant > mValueMax
nsresult SetScale(const nsACString &aScale)