VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/xpcom/components/nsObsoleteModuleLoading.h@ 65902

最後變更 在這個檔案從65902是 1,由 vboxsync 提交於 55 年 前

import

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
1
2#ifndef OBSOLETE_MODULE_LOADING
3/*
4 * Prototypes for dynamic library export functions. Your DLL/DSO needs to export
5 * these methods to play in the component world.
6 *
7 * THIS IS OBSOLETE. Look at nsIModule.idl
8 */
9
10extern "C" NS_EXPORT nsresult NSGetFactory(nsISupports* aServMgr,
11 const nsCID &aClass,
12 const char *aClassName,
13 const char *aContractID,
14 nsIFactory **aFactory);
15extern "C" NS_EXPORT PRBool NSCanUnload(nsISupports* aServMgr);
16extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr, const char *fullpath);
17extern "C" NS_EXPORT nsresult NSUnregisterSelf(nsISupports* aServMgr, const char *fullpath);
18
19typedef nsresult (*nsFactoryProc)(nsISupports* aServMgr,
20 const nsCID &aClass,
21 const char *aClassName,
22 const char *aContractID,
23 nsIFactory **aFactory);
24typedef PRBool (*nsCanUnloadProc)(nsISupports* aServMgr);
25typedef nsresult (*nsRegisterProc)(nsISupports* aServMgr, const char *path);
26typedef nsresult (*nsUnregisterProc)(nsISupports* aServMgr, const char *path);
27#endif /* OBSOLETE_MODULE_LOADING */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette