⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classinfo.h

📁 video linux conference
💻 H
字号:
#include "nsIClassInfo.h"// helper class to implement all necessary nsIClassInfo method stubs// and to set flags used by the security systemclass  ClassInfo : public nsIClassInfo{  // These flags are used by the DOM and security systems to signal that   // JavaScript callers are allowed to call this object's scritable methods.  NS_IMETHOD GetFlags(PRUint32 *aFlags)    {*aFlags = nsIClassInfo::PLUGIN_OBJECT | nsIClassInfo::DOM_OBJECT;     return NS_OK;}  NS_IMETHOD GetImplementationLanguage(PRUint32 *aImplementationLanguage)    {*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;     return NS_OK;}  // The rest of the methods can safely return error codes...  NS_IMETHOD GetInterfaces(PRUint32 *count, nsIID * **array)    {return NS_ERROR_NOT_IMPLEMENTED;}  NS_IMETHOD GetHelperForLanguage(PRUint32 language, nsISupports **_retval)    {return NS_ERROR_NOT_IMPLEMENTED;}  NS_IMETHOD GetContractID(char * *aContractID)    {return NS_ERROR_NOT_IMPLEMENTED;}  NS_IMETHOD GetClassDescription(char * *aClassDescription)    {return NS_ERROR_NOT_IMPLEMENTED;}  NS_IMETHOD GetClassID(nsCID * *aClassID)    {return NS_ERROR_NOT_IMPLEMENTED;}  NS_IMETHOD GetClassIDNoAlloc(nsCID *aClassIDNoAlloc)    {return NS_ERROR_NOT_IMPLEMENTED;}};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -