#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>
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) |
#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 | ) |
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.