зеркало из https://github.com/mono/exiv2-sharp.git
2008-10-03 Stephane Delcroix <sdelcroix@novell.com>
* exiv2-api.raw: api regen * ExifTags.custom: * Exiv2.metadata: * IfdId.cs: * Makefile.am: IfdId enum, tagName in ExifTags svn path=/trunk/exiv2-sharp/; revision=114798
This commit is contained in:
Родитель
77e8f5fada
Коммит
32da222127
|
@ -1,3 +1,12 @@
|
|||
2008-10-03 Stephane Delcroix <sdelcroix@novell.com>
|
||||
|
||||
* exiv2-api.raw: api regen
|
||||
|
||||
* ExifTags.custom:
|
||||
* Exiv2.metadata:
|
||||
* IfdId.cs:
|
||||
* Makefile.am: IfdId enum, tagName in ExifTags
|
||||
|
||||
2008-10-02 Stephane Delcroix <sdelcroix@novell.com>
|
||||
|
||||
* Exiv2.metadata: return-type:owned for the methods creating objects
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* ExifTags.custom
|
||||
*
|
||||
* Author(s):
|
||||
* Stephane Delcroix (stephane@delcroix.org)
|
||||
*
|
||||
* Copyright (c) 2008 Novell, Inc.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
public static string GetTagName(ushort tag, Exiv2.IfdId ifdid) {
|
||||
return GetTagName (tag, (int)ifdid);
|
||||
}
|
||||
|
|
@ -15,6 +15,8 @@
|
|||
<attr path="/api/namespace/object[@cname='Exiv2ExifDatumIterator']" name="internal">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifDatumIterator']/method[@name='Next']" name="accessibility">internal</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifDatumIterator']/method[@name='Equals']" name="accessibility">internal</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifTags']/method[@cname='exiv2_exiftags_get_tagName']" name="accessibility">private</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifTags']/method[@cname='exiv2_exiftags_get_tagName']/*/*[@name='ifdid']" name="type">int</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifThumb']/method[@cname='exiv2_exifthumb_jpegThumbnailPath']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifThumb']/method[@cname='exiv2_exifthumb_jpegThumbnailPathSimple']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='Exiv2ExifThumb']/method[@cname='exiv2_exifthumb_jpegThumbnailBuf']" name="hidden">1</attr>
|
||||
|
|
|
@ -0,0 +1,69 @@
|
|||
/*
|
||||
* Exiv2.IfdId.cs
|
||||
*
|
||||
* Author(s):
|
||||
* Stephane Delcroix (stephane@delcroix.org)
|
||||
*
|
||||
* Copyright (c) 2008 Novell, Inc.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
namespace Exiv2
|
||||
{
|
||||
//FIXME: this should be autogenerated
|
||||
public enum IfdId {
|
||||
ifdIdNotSet,
|
||||
ifd0Id,
|
||||
exifIfdId,
|
||||
gpsIfdId,
|
||||
iopIfdId,
|
||||
ifd1Id,
|
||||
ifd2Id,
|
||||
subImage1Id,
|
||||
subImage2Id,
|
||||
subImage3Id,
|
||||
subImage4Id,
|
||||
canonIfdId,
|
||||
canonCsIfdId,
|
||||
canonSiIfdId,
|
||||
canonCfIfdId,
|
||||
canonPiIfdId,
|
||||
canonPaIfdId,
|
||||
fujiIfdId,
|
||||
minoltaIfdId,
|
||||
minoltaCs5DIfdId,
|
||||
minoltaCs7DIfdId,
|
||||
minoltaCsOldIfdId,
|
||||
minoltaCsNewIfdId,
|
||||
nikon1IfdId,
|
||||
nikon2IfdId,
|
||||
nikon3IfdId,
|
||||
nikonPvIfdId,
|
||||
olympusIfdId,
|
||||
panasonicIfdId,
|
||||
pentaxIfdId,
|
||||
sigmaIfdId,
|
||||
sonyIfdId,
|
||||
lastIfdId,
|
||||
}
|
||||
}
|
|
@ -15,6 +15,7 @@ CUSTOMS = \
|
|||
$(srcdir)/DataBuf.custom \
|
||||
$(srcdir)/ExifData.custom \
|
||||
$(srcdir)/ExifDatum.custom \
|
||||
$(srcdir)/ExifTags.custom \
|
||||
$(srcdir)/ExifThumb.custom \
|
||||
$(srcdir)/ImageFactory.custom \
|
||||
$(srcdir)/Nikon1MakerNote.custom \
|
||||
|
@ -23,6 +24,7 @@ CUSTOMS = \
|
|||
$(srcdir)/XmpData.custom
|
||||
|
||||
SOURCES = \
|
||||
$(srcdir)/IfdId.cs \
|
||||
$(srcdir)/OpenCompletedEventArgs.cs \
|
||||
$(srcdir)/OpenCompletedEventHandler.cs
|
||||
|
||||
|
|
|
@ -157,6 +157,18 @@
|
|||
</parameters>
|
||||
</constructor>
|
||||
</object>
|
||||
<object name="ExifTags" cname="Exiv2ExifTags" parent="GObject">
|
||||
<method name="GetTagName" cname="exiv2_exiftags_get_tagName" shared="true">
|
||||
<return-type type="const-char*" />
|
||||
<parameters>
|
||||
<parameter type="guint16" name="tag" />
|
||||
<parameter type="Exiv2IfdId" name="ifdid" />
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="GetType" cname="exiv2_exiftags_get_type" shared="true">
|
||||
<return-type type="GType" />
|
||||
</method>
|
||||
</object>
|
||||
<object name="ExifThumb" cname="Exiv2ExifThumb" parent="GObject">
|
||||
<field name="Priv" cname="priv" type="Exiv2ExifThumbPrivate*" />
|
||||
<method name="Copy" cname="exiv2_exifthumb_copy">
|
||||
|
|
Загрузка…
Ссылка в новой задаче