diff options
Diffstat (limited to 'samples/source/ReadingXMP.cpp')
-rw-r--r-- | samples/source/ReadingXMP.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/source/ReadingXMP.cpp b/samples/source/ReadingXMP.cpp index bfcf56c..fd6da47 100644 --- a/samples/source/ReadingXMP.cpp +++ b/samples/source/ReadingXMP.cpp @@ -17,6 +17,8 @@ #include <string> #include <cstring> +//#define ENABLE_XMP_CPP_INTERFACE 1 + // Must be defined to instantiate template classes #define TXMP_STRING_TYPE std::string @@ -34,6 +36,7 @@ using namespace std; + /** * Client defined callback function to dump XMP to a file. In this case an output file stream is used * to write a buffer, of length bufferSize, to a text file. This callback is called multiple @@ -180,6 +183,8 @@ int main ( int argc, const char * argv[] ) cout << "Flash Used = " << flash << endl; } + + // Dump the current xmp object to a file ofstream dumpFile; dumpFile.open("XMPDump.txt", ios::out); |