sbIPDProperties.h File Reference

Songbird iPod Device Properties Definitions. More...

#include "sbIPDUtils.h"
#include <sbIDeviceProperties.h>
#include <nsAutoPtr.h>
#include <nsIWritablePropertyBag.h>
#include <nsIWritablePropertyBag2.h>
Include dependency graph for sbIPDProperties.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sbIPDProperties
 

Macros

#define SBIPD_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2_SET(aObj, aMethod, aType)
 
#define SBIPD_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2_SET_VTYPE(aObj, aMethod, aType, aVType)
 
#define SBIPD_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2(aObj)
 

Detailed Description

Songbird iPod Device Properties Definitions.

Definition in file sbIPDProperties.h.

Macro Definition Documentation

#define SBIPD_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2 (   aObj)

Forward nsIWritablePropertyBag2 methods to the object specified by aObj.

Parameters
aObjObject to which to forward.

Definition at line 112 of file sbIPDProperties.h.

#define SBIPD_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2_SET (   aObj,
  aMethod,
  aType 
)
Value:
NS_IMETHOD aMethod(const nsAString& aName, aType aValue) \
{ \
return !aObj ? NS_ERROR_NULL_POINTER : \
aObj->SetProperty(aName, sbIPDVariant(aValue).get()); \
}
onPageChanged aValue
Definition: FeedWriter.js:1395
return
Definition: FeedWriter.js:850
_updateCookies aName

Forward the nsIWritablePropertyBag2 set method specified by aMethod with the property value type specified by aType to the object specified by aObj.

Parameters
aObjObject to which to forward.
aMethodSet method to forward.
aTypeType of property value.

Definition at line 76 of file sbIPDProperties.h.

#define SBIPD_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2_SET_VTYPE (   aObj,
  aMethod,
  aType,
  aVType 
)
Value:
NS_IMETHOD aMethod(const nsAString& aName, aType aValue) \
{ \
return !aObj ? NS_ERROR_NULL_POINTER : \
aObj->SetProperty(aName, sbIPDVariant(aValue, aVType).get()); \
}
onPageChanged aValue
Definition: FeedWriter.js:1395
return
Definition: FeedWriter.js:850
_updateCookies aName

Forward the nsIWritablePropertyBag2 set method specified by aMethod with the property value type specified by aType and aVType to the object specified by aObj.

Parameters
aObjObject to which to forward.
aMethodSet method to forward.
aTypeC type of property value.
aVTypensIDataType type of property value.

Definition at line 95 of file sbIPDProperties.h.