PageRenderTime 45ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/mozilla/mozilla/dist/include/accessibility/ISimpleDOMDocument.h

http://kmbrasil.codeplex.com
C++ Header | 356 lines | 175 code | 108 blank | 73 comment | 2 complexity | e222ab3a33c2bd587210a106a10b8c4b MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, GPL-2.0
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* at Sat Oct 13 12:54:32 2007
  4. */
  5. /* Compiler settings for h:/projects/mozilla/mozilla/accessible/public/msaa/ISimpleDOMDocument.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run)
  7. protocol : dce , ms_ext, c_ext
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING( )
  14. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __ISimpleDOMDocument_h__
  29. #define __ISimpleDOMDocument_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __ISimpleDOMDocument_FWD_DEFINED__
  35. #define __ISimpleDOMDocument_FWD_DEFINED__
  36. typedef interface ISimpleDOMDocument ISimpleDOMDocument;
  37. #endif /* __ISimpleDOMDocument_FWD_DEFINED__ */
  38. /* header files for imported files */
  39. #include "objidl.h"
  40. #include "oaidl.h"
  41. #ifdef __cplusplus
  42. extern "C"{
  43. #endif
  44. void * __RPC_USER MIDL_user_allocate(size_t);
  45. void __RPC_USER MIDL_user_free( void * );
  46. /* interface __MIDL_itf_ISimpleDOMDocument_0000 */
  47. /* [local] */
  48. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  49. //
  50. // ISimpleDOMDocument
  51. //
  52. // @STATUS UNDER_REVIEW
  53. // ---------------------------------------------------------------------------------------------------=
  54. //
  55. // get_URL(out] BSTR *url)
  56. // ---------------------------------------------------------------------------------------------------=
  57. // Get the internet URL associated with this document.
  58. //
  59. // get_title([out BSTR *title
  60. // ---------------------------------------------------------------------------------------------------=
  61. // Get the document's title from the <TITLE> element
  62. //
  63. // get_mimeType([out BSTR *mimeType
  64. // ---------------------------------------------------------------------------------------------------=
  65. // Get the registered mime type, such as text/html
  66. //
  67. // get_docType([out] BSTR *docType
  68. // ---------------------------------------------------------------------------------------------------=
  69. // Get doctype associated with the <!DOCTYPE ..> element
  70. //
  71. // get_nameSpaceURIForID([in] short nameSpaceID, [out] BSTR *nameSpaceURI)
  72. // ---------------------------------------------------------------------------------------------------=
  73. // Some of the methods for ISimpleDOMNode return a nameSpaceID (-1,0,1,2,3,....)
  74. // This method returns the associated namespace URI for each ID.
  75. //
  76. // set_alternateViewMediaTypes([in] BSTR *commaSeparatedMediaType)
  77. // ---------------------------------------------------------------------------------------------------=
  78. // For style property retrieval on nsISimpleDOMNode elements,
  79. // set the additional alternate media types that properties are available for.
  80. // [in] BSTR *commaSeparatedMediaTypes is a comma separate list, for example "aural, braille".
  81. // The alternate media properties are requested with nsISimpleDOMNode::get_computedStyle.
  82. // Note: setting this value on a document will increase memory overhead, and may create a small delay.
  83. //
  84. // W3C media Types:
  85. // * all: Suitable for all devices.
  86. // * aural: Intended for speech synthesizers. See the section on aural style sheets for details.
  87. // * braille: Intended for braille tactile feedback devices.
  88. // * embossed: Intended for paged braille printers.
  89. // * handheld: Intended for handheld devices - typically small screen, monochrome, limited bandwidth.
  90. // * print: Intended for paged, opaque material and for documents viewed on screen in print preview mode. Please consult the section on paged media for information about formatting issues that are specific to paged media.
  91. // * projection: Intended for projected presentations, for example projectors or print to transparencies. Please consult the section on paged media for information about formatting issues that are specific to paged media.
  92. // * screen: Intended primarily for color computer screens.
  93. // * tty: intended for media using a fixed-pitch character grid, such as teletypes, terminals, or portable devices with limited display capabilities. Authors should not use pixel units with the tty media type.
  94. // * tv: Intended for television-type devices - low resolution, color, limited-scrollability screens, sound
  95. // * See latest W3C CSS specs for complete list of media types
  96. //
  97. //
  98. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  99. #define DISPID_DOC_URL ( -5904 )
  100. #define DISPID_DOC_TITLE ( -5905 )
  101. #define DISPID_DOC_MIMETYPE ( -5906 )
  102. #define DISPID_DOC_DOCTYPE ( -5907 )
  103. #define DISPID_DOC_NAMESPACE ( -5908 )
  104. #define DISPID_DOC_MEDIATYPES ( -5909 )
  105. extern RPC_IF_HANDLE __MIDL_itf_ISimpleDOMDocument_0000_v0_0_c_ifspec;
  106. extern RPC_IF_HANDLE __MIDL_itf_ISimpleDOMDocument_0000_v0_0_s_ifspec;
  107. #ifndef __ISimpleDOMDocument_INTERFACE_DEFINED__
  108. #define __ISimpleDOMDocument_INTERFACE_DEFINED__
  109. /* interface ISimpleDOMDocument */
  110. /* [uuid][object] */
  111. EXTERN_C const IID IID_ISimpleDOMDocument;
  112. #if defined(__cplusplus) && !defined(CINTERFACE)
  113. MIDL_INTERFACE("0D68D6D0-D93D-4d08-A30D-F00DD1F45B24")
  114. ISimpleDOMDocument : public IUnknown
  115. {
  116. public:
  117. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_URL(
  118. /* [retval][out] */ BSTR *url) = 0;
  119. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_title(
  120. /* [retval][out] */ BSTR *title) = 0;
  121. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_mimeType(
  122. /* [retval][out] */ BSTR *mimeType) = 0;
  123. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_docType(
  124. /* [retval][out] */ BSTR *docType) = 0;
  125. virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_nameSpaceURIForID(
  126. /* [in] */ short nameSpaceID,
  127. /* [retval][out] */ BSTR *nameSpaceURI) = 0;
  128. virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_alternateViewMediaTypes(
  129. /* [in] */ BSTR *commaSeparatedMediaTypes) = 0;
  130. };
  131. #else /* C style interface */
  132. typedef struct ISimpleDOMDocumentVtbl
  133. {
  134. BEGIN_INTERFACE
  135. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  136. ISimpleDOMDocument * This,
  137. /* [in] */ REFIID riid,
  138. /* [iid_is][out] */ void **ppvObject);
  139. ULONG ( STDMETHODCALLTYPE *AddRef )(
  140. ISimpleDOMDocument * This);
  141. ULONG ( STDMETHODCALLTYPE *Release )(
  142. ISimpleDOMDocument * This);
  143. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_URL )(
  144. ISimpleDOMDocument * This,
  145. /* [retval][out] */ BSTR *url);
  146. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_title )(
  147. ISimpleDOMDocument * This,
  148. /* [retval][out] */ BSTR *title);
  149. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_mimeType )(
  150. ISimpleDOMDocument * This,
  151. /* [retval][out] */ BSTR *mimeType);
  152. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_docType )(
  153. ISimpleDOMDocument * This,
  154. /* [retval][out] */ BSTR *docType);
  155. /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_nameSpaceURIForID )(
  156. ISimpleDOMDocument * This,
  157. /* [in] */ short nameSpaceID,
  158. /* [retval][out] */ BSTR *nameSpaceURI);
  159. /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_alternateViewMediaTypes )(
  160. ISimpleDOMDocument * This,
  161. /* [in] */ BSTR *commaSeparatedMediaTypes);
  162. END_INTERFACE
  163. } ISimpleDOMDocumentVtbl;
  164. interface ISimpleDOMDocument
  165. {
  166. CONST_VTBL struct ISimpleDOMDocumentVtbl *lpVtbl;
  167. };
  168. #ifdef COBJMACROS
  169. #define ISimpleDOMDocument_QueryInterface(This,riid,ppvObject) \
  170. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  171. #define ISimpleDOMDocument_AddRef(This) \
  172. (This)->lpVtbl -> AddRef(This)
  173. #define ISimpleDOMDocument_Release(This) \
  174. (This)->lpVtbl -> Release(This)
  175. #define ISimpleDOMDocument_get_URL(This,url) \
  176. (This)->lpVtbl -> get_URL(This,url)
  177. #define ISimpleDOMDocument_get_title(This,title) \
  178. (This)->lpVtbl -> get_title(This,title)
  179. #define ISimpleDOMDocument_get_mimeType(This,mimeType) \
  180. (This)->lpVtbl -> get_mimeType(This,mimeType)
  181. #define ISimpleDOMDocument_get_docType(This,docType) \
  182. (This)->lpVtbl -> get_docType(This,docType)
  183. #define ISimpleDOMDocument_get_nameSpaceURIForID(This,nameSpaceID,nameSpaceURI) \
  184. (This)->lpVtbl -> get_nameSpaceURIForID(This,nameSpaceID,nameSpaceURI)
  185. #define ISimpleDOMDocument_put_alternateViewMediaTypes(This,commaSeparatedMediaTypes) \
  186. (This)->lpVtbl -> put_alternateViewMediaTypes(This,commaSeparatedMediaTypes)
  187. #endif /* COBJMACROS */
  188. #endif /* C style interface */
  189. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ISimpleDOMDocument_get_URL_Proxy(
  190. ISimpleDOMDocument * This,
  191. /* [retval][out] */ BSTR *url);
  192. void __RPC_STUB ISimpleDOMDocument_get_URL_Stub(
  193. IRpcStubBuffer *This,
  194. IRpcChannelBuffer *_pRpcChannelBuffer,
  195. PRPC_MESSAGE _pRpcMessage,
  196. DWORD *_pdwStubPhase);
  197. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ISimpleDOMDocument_get_title_Proxy(
  198. ISimpleDOMDocument * This,
  199. /* [retval][out] */ BSTR *title);
  200. void __RPC_STUB ISimpleDOMDocument_get_title_Stub(
  201. IRpcStubBuffer *This,
  202. IRpcChannelBuffer *_pRpcChannelBuffer,
  203. PRPC_MESSAGE _pRpcMessage,
  204. DWORD *_pdwStubPhase);
  205. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ISimpleDOMDocument_get_mimeType_Proxy(
  206. ISimpleDOMDocument * This,
  207. /* [retval][out] */ BSTR *mimeType);
  208. void __RPC_STUB ISimpleDOMDocument_get_mimeType_Stub(
  209. IRpcStubBuffer *This,
  210. IRpcChannelBuffer *_pRpcChannelBuffer,
  211. PRPC_MESSAGE _pRpcMessage,
  212. DWORD *_pdwStubPhase);
  213. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ISimpleDOMDocument_get_docType_Proxy(
  214. ISimpleDOMDocument * This,
  215. /* [retval][out] */ BSTR *docType);
  216. void __RPC_STUB ISimpleDOMDocument_get_docType_Stub(
  217. IRpcStubBuffer *This,
  218. IRpcChannelBuffer *_pRpcChannelBuffer,
  219. PRPC_MESSAGE _pRpcMessage,
  220. DWORD *_pdwStubPhase);
  221. /* [id][propget] */ HRESULT STDMETHODCALLTYPE ISimpleDOMDocument_get_nameSpaceURIForID_Proxy(
  222. ISimpleDOMDocument * This,
  223. /* [in] */ short nameSpaceID,
  224. /* [retval][out] */ BSTR *nameSpaceURI);
  225. void __RPC_STUB ISimpleDOMDocument_get_nameSpaceURIForID_Stub(
  226. IRpcStubBuffer *This,
  227. IRpcChannelBuffer *_pRpcChannelBuffer,
  228. PRPC_MESSAGE _pRpcMessage,
  229. DWORD *_pdwStubPhase);
  230. /* [id][propput] */ HRESULT STDMETHODCALLTYPE ISimpleDOMDocument_put_alternateViewMediaTypes_Proxy(
  231. ISimpleDOMDocument * This,
  232. /* [in] */ BSTR *commaSeparatedMediaTypes);
  233. void __RPC_STUB ISimpleDOMDocument_put_alternateViewMediaTypes_Stub(
  234. IRpcStubBuffer *This,
  235. IRpcChannelBuffer *_pRpcChannelBuffer,
  236. PRPC_MESSAGE _pRpcMessage,
  237. DWORD *_pdwStubPhase);
  238. #endif /* __ISimpleDOMDocument_INTERFACE_DEFINED__ */
  239. /* Additional Prototypes for ALL interfaces */
  240. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  241. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  242. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  243. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  244. /* end of Additional Prototypes */
  245. #ifdef __cplusplus
  246. }
  247. #endif
  248. #endif