Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/dvilib/dl-dvi-program.cc
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-dvi-program.cc
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-dvi-program.cc')
-rwxr-xr-xdvi/dvilib/dl-dvi-program.cc30
1 files changed, 0 insertions, 30 deletions
diff --git a/dvi/dvilib/dl-dvi-program.cc b/dvi/dvilib/dl-dvi-program.cc
deleted file mode 100755
index cb1f07f..0000000
--- a/dvi/dvilib/dl-dvi-program.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "dl-dvi-program.hh"
-#include <algorithm>
-
-using namespace DviLib;
-
-typedef vector<DviCommand *>::iterator It;
-
-void
-DviProgram::execute (DviRuntime& runtime)
-{
- for (It i = commands.begin(); i != commands.end(); ++i)
- {
- (*i)->execute (runtime);
- }
-}
-
-void
-DviProgram::add_command (DviCommand *cmd)
-{
- cmd->ref();
- commands.push_back (cmd);
-}
-
-DviProgram::~DviProgram (void)
-{
- for (It i = commands.begin(); i != commands.end(); ++i)
- {
- (*i)->unref ();
- }
-}