Switch to side-by-side view

--- a/src/internfile/mimehandler.h
+++ b/src/internfile/mimehandler.h
@@ -23,10 +23,6 @@
 #include <list>
 using std::string;
 using std::list;
-#ifdef RCL_USE_XATTR
-#include <map>
-using std::map;
-#endif // RCL_USE_XATTR
 
 #include <Filter.h>
 
@@ -56,9 +52,10 @@
     // We don't use this for now
     virtual bool set_document_uri(const std::string &) {return false;}
 
-    /// This does the extended attributes thing if enabled and should
-    /// be called from subclasses.
-    virtual bool set_document_file(const string &file_path);
+    /// This does nothing right now but should be called from the
+    /// subclass method in case we need some common processing one day
+    /// (was used for xattrs at some point).
+    virtual bool set_document_file(const string &file_path) {return true;}
 
     // Default implementations
     virtual bool set_document_string(const std::string &) {return false;}
@@ -90,22 +87,13 @@
 	m_forPreview = m_havedoc = false;
 	m_defcharset.clear();
 	m_reason.clear();
-#ifdef RCL_USE_XATTR
-	m_fieldsFromAttrs.clear();
-#endif // RCL_USE_XATTR
     }
-#ifdef RCL_USE_XATTR
-    const map<string, string>& getFieldsFromAttrs() {return m_fieldsFromAttrs;}
-#endif // RCL_USE_XATTR
 
 protected:
     bool   m_forPreview;
     string m_defcharset;
     string m_reason;
     bool   m_havedoc;
-#ifdef RCL_USE_XATTR
-    map<string, string> m_fieldsFromAttrs;
-#endif // RCL_USE_XATTR
 };
 
 /**