Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/dvilib/dl-loader.hh
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2005-04-07 15:28:06 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-04-07 15:28:06 (GMT)
commitc3e1500a4815225f08e1b20dd066559e8c92c280 (patch)
tree7474fe16fce807cda4845df116fec07c60b161e6 /dvi/dvilib/dl-loader.hh
parent52f67b9ce7a9f2282b2c85139d1d10f8c4df5786 (diff)
Recent files support.
2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am:
Diffstat (limited to 'dvi/dvilib/dl-loader.hh')
-rwxr-xr-xdvi/dvilib/dl-loader.hh59
1 files changed, 0 insertions, 59 deletions
diff --git a/dvi/dvilib/dl-loader.hh b/dvi/dvilib/dl-loader.hh
deleted file mode 100755
index f0ac956..0000000
--- a/dvi/dvilib/dl-loader.hh
+++ /dev/null
@@ -1,59 +0,0 @@
-#ifndef DL_LOADER_HH
-#define DL_LOADER_HH
-
-#include <string>
-#include <cstdio>
-#include <vector>
-
-#include "dl-refcounted.hh"
-
-namespace DviLib {
-
- class AbstractLoader : public RefCounted {
- public:
- virtual int get_uint8 () = 0;
- virtual int get_uint16 ();
- virtual int get_uint24 ();
- virtual int get_uint32 ();
-
- virtual int get_int8 () = 0;
- virtual int get_int16 ();
- virtual int get_int24 ();
- virtual int get_int32 ();
-
- virtual string get_string8 ();
- virtual string get_string16 ();
- virtual string get_string24 ();
- virtual string get_string32 ();
-
- virtual void skip_string8 ();
- virtual void skip_string16 ();
- virtual void skip_string24 ();
- virtual void skip_string32 ();
-
- virtual void goto_from_start (int i) = 0;
- virtual void goto_from_end (int i) = 0;
- virtual void goto_from_current (int i) = 0;
-
- virtual void skip_n (int n);
- virtual string get_n (int n);
- virtual void get_n (int n, unsigned char *v);
-
- virtual ~AbstractLoader() {};
- };
-
- class FileLoader : public AbstractLoader {
- FILE *f;
- string filename;
- public:
- FileLoader (const string &name);
- virtual int get_int8 ();
- virtual int get_uint8 ();
- virtual void goto_from_start (int i);
- virtual void goto_from_end (int i);
- virtual void goto_from_current (int i);
-
- virtual ~FileLoader ();
- };
-}
-#endif // DL_LOADER_HH