Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libopenraw
exempi
Commits
c63d00a3
Commit
c63d00a3
authored
Jan 30, 2017
by
Hubert Figuiere
Browse files
api: added NS_XML constant to the public API.
parent
6191c2b9
Changes
4
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
c63d00a3
...
...
@@ -17,6 +17,7 @@
array instead of simple property.
- Lot of bug fixes in XMPFiles and XMPCore.
- Removed Exempi provided support for GIF in favour of Adobe's.
- New: API NS_XML constant
Internal:
...
...
exempi/exempi.cpp
View file @
c63d00a3
...
...
@@ -165,6 +165,7 @@ const char NS_TPG[] = kXMP_NS_XMP_PagedFile;
const
char
NS_DIMENSIONS_TYPE
[]
=
kXMP_NS_XMP_Dimensions
;
const
char
NS_CC
[]
=
"http://creativecommons.org/ns#"
;
const
char
NS_PDF
[]
=
kXMP_NS_PDF
;
const
char
NS_XML
[]
=
kXMP_NS_XML
;
#define STRING(x) reinterpret_cast<std::string *>(x)
...
...
exempi/tests/test-iterator.cpp
View file @
c63d00a3
...
...
@@ -134,7 +134,7 @@ int test_main(int argc, char *argv[])
BOOST_CHECK
(
props
[
0
]
==
tuple3
({
NS_DC
,
"dc:rights"
,
""
}));
BOOST_CHECK
(
props
[
1
]
==
tuple3
({
""
,
"[1]"
,
"2006, Hubert Figuiere"
}));
BOOST_CHECK
(
props
[
2
]
==
tuple3
({
"http://www.w3.org/XML/1998/namespace"
,
"xml:lang"
,
"x-default"
}));
BOOST_CHECK
(
props
[
2
]
==
tuple3
({
NS_XML
,
"xml:lang"
,
"x-default"
}));
BOOST_CHECK
(
xmp_iterator_free
(
iter
));
}
...
...
exempi/xmpconsts.h
View file @
c63d00a3
...
...
@@ -61,6 +61,8 @@ extern const char NS_DIMENSIONS_TYPE[];
extern
const
char
NS_CC
[];
/* Added in Exempi 2.1 */
extern
const
char
NS_PDF
[];
/* Added in Exempi 2.5 */
extern
const
char
NS_XML
[];
#ifdef __cplusplus
}
...
...
Write
Preview
Supports
Markdown
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