Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
classinfo.h
Package: vlc-1.0.5.zip [view]
Upload User: kjfoods
Upload Date: 2020-07-06
Package Size: 29949k
Code Size: 1k
Category:
midi program
Development Platform:
Unix_Linux
- #include "nsIClassInfo.h"
- // helper class to implement all necessary nsIClassInfo method stubs
- // and to set flags used by the security system
- class 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;}
- };