sbBaseDeviceMarshall.cpp File Reference
#include "sbBaseDeviceMarshall.h"
#include <nsISupportsPrimitives.h>
#include <nsIMutableArray.h>
#include <nsICategoryManager.h>
#include <nsComponentManagerUtils.h>
#include <nsServiceManagerUtils.h>
#include <sbIDeviceControllerRegistrar.h>
#include <sbIDeviceController.h>
#include <sbIDeviceCompatibility.h>
#include <nsIPropertyBag.h>
#include <nsIUUIDGenerator.h>
Include dependency graph for sbBaseDeviceMarshall.cpp:

Go to the source code of this file.

Functions

void AppendDeviceController (nsCOMPtr< nsISupports > &ptr, nsCOMPtr< nsIMutableArray > &controllers)
 
static nsresult CopyCategoriesToArray (nsCOMPtr< nsISimpleEnumerator > &enumerator, nsCOMPtr< nsIMutableArray > &controllers)
 
PRBool CompareCompatibility (sbIDeviceCompatibility *comp1, sbIDeviceCompatibility *comp2)
 

Function Documentation

void AppendDeviceController ( nsCOMPtr< nsISupports > &  ptr,
nsCOMPtr< nsIMutableArray > &  controllers 
)
inline

Definition at line 69 of file sbBaseDeviceMarshall.cpp.

Here is the caller graph for this function:

PRBool CompareCompatibility ( sbIDeviceCompatibility comp1,
sbIDeviceCompatibility comp2 
)
inline

Returns true if comp2 is not incompatible and is "more" compatible than comp1

Definition at line 151 of file sbBaseDeviceMarshall.cpp.

Here is the caller graph for this function:

static nsresult CopyCategoriesToArray ( nsCOMPtr< nsISimpleEnumerator > &  enumerator,
nsCOMPtr< nsIMutableArray > &  controllers 
)
static

Definition at line 102 of file sbBaseDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: