From 7140154ad1a71dc73973c3be20e4c7c12c4a846e Mon Sep 17 00:00:00 2001
From: Andrea Zoli <zoli@iasfbo.inaf.it>
Date: Thu, 9 Jul 2015 15:21:04 +0200
Subject: [PATCH] Add InputFile::getpos().

---
 include/InputFile.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/InputFile.h b/include/InputFile.h
index 596e1a5..170c06b 100644
--- a/include/InputFile.h
+++ b/include/InputFile.h
@@ -51,6 +51,10 @@ public:
     
     virtual dword setpos(long offset) throw(PacketExceptionIO*);
 
+    virtual long getpos() {
+        return file->getpos();
+    }
+
 protected:
 
     File* file;
-- 
GitLab