Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / parser / RepoindexFileReader.h
index 500b29f..c720f58 100644 (file)
@@ -17,7 +17,6 @@
 #include "zypp/base/Function.h"
 #include "zypp/base/InputStream.h"
 #include "zypp/Pathname.h"
-#include "zypp/Date.h"
 
 namespace zypp
 {
@@ -49,7 +48,9 @@ namespace zypp
     * First parameter is a \ref RepoInfo object with the resource
     * FIXME return value is ignored
     */
-    typedef function< bool( const RepoInfo & )> ProcessResource;
+    typedef function< bool(
+        const RepoInfo & )>
+      ProcessResource;
 
    /**
     * CTOR. Creates also \ref xml::Reader and starts reading.
@@ -78,9 +79,6 @@ namespace zypp
      */
     ~RepoindexFileReader();
 
-    /** Metadata TTL (repoindex.xml:xpath:/repoindex@ttl or 0). */
-    Date::Duration ttl() const;
-
   private:
     class Impl;
     RW_pointer<Impl,rw_pointer::Scoped<Impl> > _pimpl;