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
hxfilerecognizer.h
Package: 142_61_thumb_advanced.rar [view]
Upload User: dangjiwu
Upload Date: 2013-07-19
Package Size: 42019k
Code Size: 3k
Category:
Symbian
Development Platform:
Visual C++
- #ifndef _HXFILERECOGNIZER_H_
- #define _HXFILERECOGNIZER_H_
- typedef _INTERFACE IHXFileRecognizer IHXFileRecognizer;
- typedef _INTERFACE IHXFileRecognizerResponse IHXFileRecognizerResponse;
- /****************************************************************************
- *
- * Interface:
- *
- * IHXFileRecognizer
- *
- * Purpose:
- *
- * Attemps to determine the MIME type of the given file.
- *
- * IID_IHXFileRecognizer:
- *
- * {00000220-0901-11d1-8B06-00A024406D59}
- *
- */
- DEFINE_GUID(IID_IHXFileRecognizer, 0x00000220, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
- #undef INTERFACE
- #define INTERFACE IHXFileRecognizer
- DECLARE_INTERFACE_(IHXFileRecognizer, IUnknown)
- {
- /*
- * IUnknown methods
- */
- STDMETHOD(QueryInterface) (THIS_
- REFIID riid,
- void** ppvObj) PURE;
- STDMETHOD_(ULONG32,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG32,Release) (THIS) PURE;
- /*
- * IHXFileRecognizer methods
- */
- /************************************************************************
- * Method:
- * IHXFileRecognizer::GetMimeType
- * Purpose:
- */
- STDMETHOD(GetMimeType) (THIS_
- IHXFileObject* /*IN*/ pFile,
- IHXFileRecognizerResponse* /*IN*/ pFileRecognizerResponse
- ) PURE;
- };
- /****************************************************************************
- *
- * Interface:
- *
- * IHXFileRecognizerResponse
- *
- * Purpose:
- *
- * Response interface for IHXFileRecognizer.
- * Optional interface.
- *
- * IID_IHXFileRecognizerResponse:
- *
- * {00000221-0901-11d1-8B06-00A024406D59}
- *
- */
- DEFINE_GUID(IID_IHXFileRecognizerResponse, 0x00000221, 0x901, 0x11d1, 0x8b, 0x6, 0x0,
- 0xa0, 0x24, 0x40, 0x6d, 0x59);
- #undef INTERFACE
- #define INTERFACE IHXFileRecognizerResponse
- DECLARE_INTERFACE_(IHXFileRecognizerResponse, IUnknown)
- {
- /*
- * IUnknown methods
- */
- STDMETHOD(QueryInterface) (THIS_
- REFIID riid,
- void** ppvObj) PURE;
- STDMETHOD_(ULONG32,AddRef) (THIS) PURE;
- STDMETHOD_(ULONG32,Release) (THIS) PURE;
- /*
- * IHXFileRecognizerResponse methods
- */
- /************************************************************************
- * Method:
- * IHXFileRecognizerResponse::GetMimeTypeDone
- * Purpose:
- * Notification interface provided by users of the IHXFileRecognizer
- * interface. Note, you must copy the mimeType before this
- * method scope exits.
- *
- */
- STDMETHOD(GetMimeTypeDone) (THIS_
- HX_RESULT status,
- IHXBuffer* pMimeType) PURE;
- };
- #endif // _HXFILERECOGNIZER_H_