Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added covenience functions #11

Merged
merged 17 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It's part of [Ashampoo Photos](https://ashampoo.com/photos).
## Installation

```
implementation("com.ashampoo:xmpcore:0.1.7")
implementation("com.ashampoo:xmpcore:0.2")
```

## How to use
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.ashampoo.xmp.impl
package com.ashampoo.xmp

import com.ashampoo.xmp.XMPError
import com.ashampoo.xmp.XMPException
import nl.adaptivity.xmlutil.DomWriter
import nl.adaptivity.xmlutil.EventType
import nl.adaptivity.xmlutil.XmlStreaming
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// =================================================================================================
package com.ashampoo.xmp.impl
package com.ashampoo.xmp

class QName {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// =================================================================================================
package com.ashampoo.xmp.impl

import com.ashampoo.xmp.XMPConst
package com.ashampoo.xmp

/**
* Utility functions for the XMPToolkit implementation.
Expand Down
2 changes: 2 additions & 0 deletions src/commonMain/kotlin/com/ashampoo/xmp/XMPConst.kt
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ object XMPConst {

const val XMP_DC_SUBJECT: String = "subject"

const val XMP_ACDSEE_KEYWORDS: String = "keywords"

const val XMP_IPTC_EXT_PERSON_IN_IMAGE: String = "PersonInImage"

}
2 changes: 2 additions & 0 deletions src/commonMain/kotlin/com/ashampoo/xmp/XMPError.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ package com.ashampoo.xmp

object XMPError {

const val EMPTY_ARRAY_NAME_TEXT: String = "Empty array name"
const val EMPTY_SCHEMA_TEXT: String = "Empty schema namespace URI"
const val EMPTY_PROPERTY_NAME_TEXT: String = "Empty property name"
const val EMPTY_CONVERT_STRING_TEXT: String = "Empty convert-string"

const val UNKNOWN: Int = 0
Expand Down
Loading
Loading