]> git.datanom.net - lensdb.git/blobdiff - lib/main.hpp
Readd missing feature
[lensdb.git] / lib / main.hpp
index b82863240a89d019cf08161e5f1ed197afbf6c60..b4c711f7ecc813e74decc7deb693d5b54a56c1aa 100644 (file)
 #define _MAIN_HPP_
 
 #include <iostream>
-#include "exiftool/ExifTool.h"
+#include <string>
+#include <glib.h>
+#include <gmodule.h>
+#include "ExifTool.h"
 
 class ExifScanner {
 public:
     ExifScanner(const char* file);
     ~ExifScanner();
-
-    void scanner_do_work();
+       
+    std::string get_maker();
+    std::string get_lens();
+    std::string get_serial_number();
+    std::string get_error();
+    gchar* get_cstring(std::string s);
+    
 
 private:
-    const char* file;
+    const gchar* file;
+    std::string error;
+    GHashTable* exif_tags;
     
+    void get_data_from_image();
+    bool match_maker(const gchar* maker);
+    gulong char_len(const gchar* elem);
+ 
 };
 
 #endif /* _MAIN_HPP_ */
This page took 0.443724 seconds and 5 git commands to generate.