|
|
@ -15,7 +15,9 @@ void add(Exiv2::Internal::CiffHeader* pHead);
|
|
|
|
void help();
|
|
|
|
void help();
|
|
|
|
void write(const std::string& filename, const Exiv2::Internal::CiffHeader* pHead);
|
|
|
|
void write(const std::string& filename, const Exiv2::Internal::CiffHeader* pHead);
|
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char* const argv[]) try {
|
|
|
|
int main(int argc, char* const argv[])
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try {
|
|
|
|
if (argc != 2) {
|
|
|
|
if (argc != 2) {
|
|
|
|
std::cout << "Usage: " << argv[0] << " file\n";
|
|
|
|
std::cout << "Usage: " << argv[0] << " file\n";
|
|
|
|
std::cout << "Edit the CIFF structure of a CRW file\n";
|
|
|
|
std::cout << "Edit the CIFF structure of a CRW file\n";
|
|
|
@ -80,6 +82,7 @@ int main(int argc, char* const argv[]) try {
|
|
|
|
std::cerr << e << "\n";
|
|
|
|
std::cerr << e << "\n";
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void write(const std::string& filename, const Exiv2::Internal::CiffHeader* pHead)
|
|
|
|
void write(const std::string& filename, const Exiv2::Internal::CiffHeader* pHead)
|
|
|
|
{
|
|
|
|
{
|
|
|
|