share macro mode decoding

This commit is contained in:
HumanDynamo
2010-04-15 09:46:38 +00:00
parent 5387705fa6
commit 099fc85533
4 changed files with 28 additions and 12 deletions
+1 -7
View File
@@ -235,12 +235,6 @@ namespace Exiv2 {
{ 2, N_("Spot") }
};
//! Lookup table to translate Minolta Std camera settings macro mode values to readable labels
extern const TagDetails minoltaMacroModeStd[] = {
{ 0, N_("Off") },
{ 1, N_("On") }
};
//! Lookup table to translate Minolta Std camera settings digital zoom values to readable labels
extern const TagDetails minoltaDigitalZoomStd[] = {
{ 0, N_("Off") },
@@ -506,7 +500,7 @@ namespace Exiv2 {
minoltaCsNewIfdId, makerTags, unsignedLong, printMinoltaFNumberStd),
TagInfo(0x000B, "MacroMode", N_("Macro Mode"),
N_("Macro mode"),
minoltaCsNewIfdId, makerTags, unsignedLong, EXV_PRINT_TAG(minoltaMacroModeStd)),
minoltaCsNewIfdId, makerTags, unsignedLong, printMinoltaSonyMacroMode),
TagInfo(0x000C, "DigitalZoom", N_("Digital Zoom"),
N_("Digital zoom"),
minoltaCsNewIfdId, makerTags, unsignedLong, EXV_PRINT_TAG(minoltaDigitalZoomStd)),