#include <nsCOMArray.h>
#include <nsCOMPtr.h>
#include <pratom.h>
#include <nsServiceManagerUtils.h>
#include <nsComponentManagerUtils.h>
#include <nsStringAPI.h>
#include <nsIMutableArray.h>
#include <sbMemoryUtils.h>
#include <sbILibrary.h>
#include <sbILibraryManager.h>
Go to the source code of this file.
NS_IMETHODIMP sbLibraryManager::GetMainLibrary |
( |
sbILibrary ** |
_retval | ) |
|
|
inline |
nsresult GetMainLibraryId |
( |
nsAString & |
aLibraryId | ) |
|
|
inline |
SB_AUTO_NULL_CLASS |
( |
sbAutoRemoveMediaItem |
, |
|
|
nsCOMPtr< sbIMediaItem > |
, |
|
|
{nsCOMPtr< sbILibrary > library;nsresult rv=mValue->GetLibrary(getter_AddRefs(library));if(NS_SUCCEEDED(rv)) library->Remove(mValue);} |
|
|
) |
| |
Tests whether the library passed is the main library
Definition at line 283 of file sbLibraryUtils.h.