diff options
Diffstat (limited to 'dvi/dvilib/dl-dvi-program.cc')
-rwxr-xr-x | dvi/dvilib/dl-dvi-program.cc | 30 |
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 (); - } -} |