Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9cf630fc
Commit
9cf630fc
authored
Nov 23, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Added error codes enum, cleanup existing enums.
parent
756d33dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
123 additions
and
33 deletions
+123
-33
xmllite.idl
include/xmllite.idl
+123
-33
No files found.
include/xmllite.idl
View file @
9cf630fc
...
...
@@ -79,45 +79,135 @@ interface IXmlReader : IUnknown
}
/*
IXmlReader
state
*/
cpp_quote
(
"typedef enum XmlReadState"
)
cpp_quote
(
"{"
)
cpp_quote
(
" XmlReadState_Initial = 0,"
)
cpp_quote
(
" XmlReadState_Interactive = 1,"
)
cpp_quote
(
" XmlReadState_Error = 2,"
)
cpp_quote
(
" XmlReadState_EndOfFile = 3,"
)
cpp_quote
(
" XmlReadState_Closed = 4"
)
cpp_quote
(
"} XmlReadState;"
)
typedef
enum
XmlReadState
{
XmlReadState_Initial
,
XmlReadState_Interactive
,
XmlReadState_Error
,
XmlReadState_EndOfFile
,
XmlReadState_Closed
}
XmlReadState
;
/*
conformance
levels
*/
cpp_quote
(
"typedef enum XmlConformanceLevel"
)
cpp_quote
(
"{"
)
cpp_quote
(
" XmlConformanceLevel_Auto = 0,"
)
cpp_quote
(
" XmlConformanceLevel_Fragment = 1,"
)
cpp_quote
(
" XmlConformanceLevel_Document = 2,"
)
cpp_quote
(
" _XmlConformanceLevel_Last = 2"
)
cpp_quote
(
"} XmlConformanceLevel;"
)
typedef
enum
XmlConformanceLevel
{
XmlConformanceLevel_Auto
,
XmlConformanceLevel_Fragment
,
XmlConformanceLevel_Document
,
_XmlConformanceLevel_Last
=
XmlConformanceLevel_Document
}
XmlConformanceLevel
;
/*
DTD
processing
mode
*/
cpp_quote
(
"typedef enum DtdProcessing"
)
cpp_quote
(
"{"
)
cpp_quote
(
" DtdProcessing_Prohibit = 0,"
)
cpp_quote
(
" DtdProcessing_Parse = DtdProcessing_Prohibit + 1,"
)
cpp_quote
(
" _DtdProcessing_Last = DtdProcessing_Parse"
)
cpp_quote
(
"} DtdProcessing;"
)
typedef
enum
DtdProcessing
{
DtdProcessing_Prohibit
,
DtdProcessing_Parse
,
_DtdProcessing_Last
=
DtdProcessing_Parse
}
DtdProcessing
;
/*
IXmlReader
properties
*/
cpp_quote
(
"typedef enum XmlReaderProperty"
)
cpp_quote
(
"{"
)
cpp_quote
(
" XmlReaderProperty_MultiLanguage = 0,"
)
cpp_quote
(
" XmlReaderProperty_ConformanceLevel = XmlReaderProperty_MultiLanguage + 1,"
)
cpp_quote
(
" XmlReaderProperty_RandomAccess = XmlReaderProperty_ConformanceLevel + 1,"
)
cpp_quote
(
" XmlReaderProperty_XmlResolver = XmlReaderProperty_RandomAccess + 1,"
)
cpp_quote
(
" XmlReaderProperty_DtdProcessing = XmlReaderProperty_XmlResolver + 1,"
)
cpp_quote
(
" XmlReaderProperty_ReadState = XmlReaderProperty_DtdProcessing + 1,"
)
cpp_quote
(
" XmlReaderProperty_MaxElementDepth = XmlReaderProperty_ReadState + 1,"
)
cpp_quote
(
" XmlReaderProperty_MaxEntityExpansion = XmlReaderProperty_MaxElementDepth + 1,"
)
cpp_quote
(
" _XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion"
)
cpp_quote
(
"} XmlReaderProperty;"
)
typedef
enum
XmlReaderProperty
{
XmlReaderProperty_MultiLanguage
,
XmlReaderProperty_ConformanceLevel
,
XmlReaderProperty_RandomAccess
,
XmlReaderProperty_XmlResolver
,
XmlReaderProperty_DtdProcessing
,
XmlReaderProperty_ReadState
,
XmlReaderProperty_MaxElementDepth
,
XmlReaderProperty_MaxEntityExpansion
,
_XmlReaderProperty_Last
=
XmlReaderProperty_MaxEntityExpansion
}
XmlReaderProperty
;
/*
reader
error
codes
*/
typedef
enum
XmlError
{
MX_E_MX
=
0
xc00cee00
,
MX_E_INPUTEND
,
MX_E_ENCODING
,
MX_E_ENCODINGSWITCH
,
MX_E_ENCODINGSIGNATURE
,
WC_E_WC
=
0
xc00cee20
,
WC_E_WHITESPACE
,
WC_E_SEMICOLON
,
WC_E_GREATERTHAN
,
WC_E_QUOTE
,
WC_E_EQUAL
,
WC_E_LESSTHAN
,
WC_E_HEXDIGIT
,
WC_E_DIGIT
,
WC_E_LEFTBRACKET
,
WC_E_LEFTPAREN
,
WC_E_XMLCHARACTER
,
WC_E_NAMECHARACTER
,
WC_E_SYNTAX
,
WC_E_CDSECT
,
WC_E_COMMENT
,
WC_E_CONDSECT
,
WC_E_DECLATTLIST
,
WC_E_DECLDOCTYPE
,
WC_E_DECLELEMENT
,
WC_E_DECLENTITY
,
WC_E_DECLNOTATION
,
WC_E_NDATA
,
WC_E_PUBLIC
,
WC_E_SYSTEM
,
WC_E_NAME
,
WC_E_ROOTELEMENT
,
WC_E_ELEMENTMATCH
,
WC_E_UNIQUEATTRIBUTE
,
WC_E_TEXTXMLDECL
,
WC_E_LEADINGXML
,
WC_E_TEXTDECL
,
WC_E_XMLDECL
,
WC_E_ENCNAME
,
WC_E_PUBLICID
,
WC_E_PESINTERNALSUBSET
,
WC_E_PESBETWEENDECLS
,
WC_E_NORECURSION
,
WC_E_ENTITYCONTENT
,
WC_E_UNDECLAREDENTITY
,
WC_E_PARSEDENTITY
,
WC_E_NOEXTERNALENTITYREF
,
WC_E_PI
,
WC_E_SYSTEMID
,
WC_E_QUESTIONMARK
,
WC_E_CDSECTEND
,
WC_E_MOREDATA
,
WC_E_DTDPROHIBITED
,
WC_E_INVALIDXMLSPACE
,
NC_E_NC
=
0
xc00cee60
,
NC_E_QNAMECHARACTER
,
NC_E_QNAMECOLON
,
NC_E_NAMECOLON
,
NC_E_DECLAREDPREFIX
,
NC_E_UNDECLAREDPREFIX
,
NC_E_EMPTYURI
,
NC_E_XMLPREFIXRESERVED
,
NC_E_XMLNSPREFIXRESERVED
,
NC_E_XMLURIRESERVED
,
NC_E_XMLNSURIRESERVED
,
SC_E_SC
=
0
xc00cee80
,
SC_E_MAXELEMENTDEPTH
,
SC_E_MAXENTITYEXPANSION
,
WR_E_WR
=
0
xc00cef00
,
WR_E_NONWHITESPACE
,
WR_E_NSPREFIXDECLARED
,
WR_E_NSPREFIXWITHEMPTYNSURI
,
WR_E_DUPLICATEATTRIBUTE
,
WR_E_XMLNSPREFIXDECLARATION
,
WR_E_XMLPREFIXDECLARATION
,
WR_E_XMLURIDECLARATION
,
WR_E_XMLNSURIDECLARATION
,
WR_E_NAMESPACEUNDECLARED
,
WR_E_INVALIDXMLSPACE
,
WR_E_INVALIDACTION
,
WR_E_INVALIDSURROGATEPAIR
,
XML_E_INVALID_DECIMAL
=
0
xc00ce01d
,
XML_E_INVALID_HEXIDECIMAL
,
XML_E_INVALID_UNICODE
,
XML_E_INVALIDENCODING
=
0
xc00ce06e
}
XmlError
;
/*
IXmlReader
construction
*/
cpp_quote
(
"STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc);"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment