#include "sbLocalDatabaseSmartMediaList.h"
#include "sbLocalDatabaseCID.h"
#include <sbIDatabaseQuery.h>
#include <sbIDatabaseResult.h>
#include <sbILibrary.h>
#include <sbILocalDatabaseLibrary.h>
#include <sbILocalDatabasePropertyCache.h>
#include <sbILocalDatabaseMediaItem.h>
#include <sbILocalDatabaseSimpleMediaList.h>
#include <sbIMediaItem.h>
#include <sbIMediaList.h>
#include <sbIPropertyArray.h>
#include <sbIPropertyInfo.h>
#include <sbIPropertyManager.h>
#include <sbISQLBuilder.h>
#include <sbLocalDatabaseSchemaInfo.h>
#include <sbPropertiesCID.h>
#include <sbSQLBuilderCID.h>
#include <sbStandardOperators.h>
#include <sbStandardProperties.h>
#include <sbILibraryManager.h>
#include <sbDummyProperties.h>
#include <sbStringUtils.h>
#include <nsAutoPtr.h>
#include <nsTArray.h>
#include <nsCOMPtr.h>
#include <nsComponentManagerUtils.h>
#include <nsIClassInfoImpl.h>
#include <nsINetUtil.h>
#include <nsIObserverService.h>
#include <nsIUUIDGenerator.h>
#include <nsIProgrammingLanguage.h>
#include <nsMemory.h>
#include <nsNetCID.h>
#include <nsServiceManagerUtils.h>
#include <nsIInterfaceRequestorUtils.h>
#include <nsVoidArray.h>
#include <prlog.h>
#include <prprf.h>
#include <prtime.h>
#include <stdio.h>
Go to the source code of this file.
|
static nsresult | ParseAndAddChunk (const nsAString &aString, sbStringMap &aMap) |
|
static nsresult | ParseQueryStringIntoHashtable (const nsAString &aString, sbStringMap &aMap) |
|
PLDHashOperator PR_CALLBACK | JoinStringMapCallback (nsStringHashKey::KeyType aKey, nsString aEntry, void *aUserData) |
|
static nsresult | JoinStringMapIntoQueryString (sbStringMap &aMap, nsAString &aString) |
|
| NS_IMPL_ISUPPORTS1 (sbLocalDatabaseSmartMediaListCondition, sbILocalDatabaseSmartMediaListCondition) sbLocalDatabaseSmartMediaListCondition |
|
| NS_IMPL_THREADSAFE_ISUPPORTS9 (sbLocalDatabaseSmartMediaList, nsIClassInfo, nsISupportsWeakReference, sbILibraryResource, sbILocalDatabaseSmartMediaList, sbILocalDatabaseMediaItem, sbIMediaItem, sbIMediaList, sbIMediaListListener, nsIObserver) |
|
| NS_IMPL_CI_INTERFACE_GETTER8 (sbLocalDatabaseSmartMediaList, nsIClassInfo, nsISupportsWeakReference, sbILibraryResource, sbILocalDatabaseSmartMediaList, sbIMediaItem, sbIMediaList, sbIMediaListListener, nsIObserver) |
|
#define LOG |
( |
|
args | ) |
/* nothing */ |
#define ONEDAY (1000*60*60*24) |
#define RANDOM_ADD_CHUNK_SIZE 1000; |
#define SQL_IN_LIMIT 1000 |
#define TRACE |
( |
|
args | ) |
/* nothing */ |
PLDHashOperator PR_CALLBACK JoinStringMapCallback |
( |
nsStringHashKey::KeyType |
aKey, |
|
|
nsString |
aEntry, |
|
|
void * |
aUserData |
|
) |
| |
static nsresult JoinStringMapIntoQueryString |
( |
sbStringMap & |
aMap, |
|
|
nsAString & |
aString |
|
) |
| |
|
static |
static nsresult ParseAndAddChunk |
( |
const nsAString & |
aString, |
|
|
sbStringMap & |
aMap |
|
) |
| |
|
static |
static nsresult ParseQueryStringIntoHashtable |
( |
const nsAString & |
aString, |
|
|
sbStringMap & |
aMap |
|
) |
| |
|
static |
const char* gsFmtRadix10 = "%lld" |
|
static |
char const LIBRARY_MANAGER_BEFORE_SHUTDOWN[] = "songbird-library-manager-before-shutdown" |
|
static |
char const OBSERVER_SERVICE_CONTRACT_ID[] = "@mozilla.org/observer-service;1" |
|
static |