sbIMediaItemDownloader.idl File Reference
#include "nsISupports.idl"
#include <nsIComponentManager.h>
#include <nsICategoryManager.h>
#include <nsIGenericFactory.h>
#include <nsIServiceManager.h>
#include <nsCOMPtr.h>
#include <nsServiceManagerUtils.h>
#include <nsStringGlue.h>
#include <nsXPCOMCID.h>
Include dependency graph for sbIMediaItemDownloader.idl:

Go to the source code of this file.

Classes

interface  sbIMediaItemDownloader
 

Macros

#define SB_MEDIA_ITEM_DOWNLOADER_CATEGORY   "songbird-media-item-downloader"
 
#define SB_MEDIA_ITEM_DOWNLOADER_REGISTERSELF(_name)
 
#define SB_MEDIA_ITEM_DOWNLOADER_REGISTERSELF_IMPL(_name)
 

Macro Definition Documentation

#define SB_MEDIA_ITEM_DOWNLOADER_CATEGORY   "songbird-media-item-downloader"

Definition at line 161 of file sbIMediaItemDownloader.idl.

#define SB_MEDIA_ITEM_DOWNLOADER_REGISTERSELF (   _name)
Value:
\
NS_METHOD _name##RegisterSelf(nsIComponentManager* aCompMgr, \
nsIFile* aPath, \
const char* registryLocation, \
const char* componentType, \
const nsModuleComponentInfo* info); \
\
NS_METHOD _name##UnregisterSelf(nsIComponentManager* aCompMgr, \
nsIFile* aPath, \
const char* registryLocation, \
const nsModuleComponentInfo* info);
_updateCookies aPath

Put this in your module definition file. Give your class name. Then your moduleInfo should look something like this:

NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbSampleMediaItemDownloader, Init) SB_MEDIACORE_FACTORY_REGISTERSELF(sbSampleMediaItemDownloader)

static nsModuleComponentInfo components[] = { { CLASSNAME, CID, CONTRACTID, sbSampleMediaItemDownloaderConstructor, sbSampleMediaItemDownloaderRegisterSelf, sbSampleMediaItemDownloaderUnregisterSelf } };

NS_IMPL_NSGETMODULE(SampleMediaItemDownloader, components)

Definition at line 184 of file sbIMediaItemDownloader.idl.

#define SB_MEDIA_ITEM_DOWNLOADER_REGISTERSELF_IMPL (   _name)

Stick this in your implementation file. Give your class name.

Definition at line 200 of file sbIMediaItemDownloader.idl.