minor
This commit is contained in:
parent
1d8855b47d
commit
1fa68f082f
2 changed files with 11 additions and 0 deletions
|
@ -34,6 +34,8 @@ class XmpNamespace extends Equatable {
|
|||
switch (nsUri) {
|
||||
case Namespaces.container:
|
||||
return XmpContainer(nsPrefix, rawProps);
|
||||
case Namespaces.creatorAtom:
|
||||
return XmpCreatorAtom(nsPrefix, rawProps);
|
||||
case Namespaces.crs:
|
||||
return XmpCrsNamespace(nsPrefix, rawProps);
|
||||
case Namespaces.darktable:
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
import 'package:aves/utils/xmp_utils.dart';
|
||||
import 'package:aves/widgets/viewer/info/metadata/xmp_namespaces.dart';
|
||||
|
||||
class XmpCreatorAtom extends XmpNamespace {
|
||||
XmpCreatorAtom(String nsPrefix, Map<String, String> rawProps) : super(Namespaces.creatorAtom, nsPrefix, rawProps);
|
||||
|
||||
@override
|
||||
late final List<XmpCardData> cards = [
|
||||
XmpCardData(RegExp(nsPrefix + r'aeProjectLink/(.*)'), title: 'AE Project Link'),
|
||||
];
|
||||
}
|
||||
|
||||
class XmpDarktableNamespace extends XmpNamespace {
|
||||
XmpDarktableNamespace(String nsPrefix, Map<String, String> rawProps) : super(Namespaces.darktable, nsPrefix, rawProps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue