From df5286fe3bca619beb4771da1ffa8ace9613e9e5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 18 Aug 2006 17:21:02 +0000 Subject: Gutted, deleted almost all the source, too many changes to keep it around, we'll see what happens next. --- src/performcmd.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/performcmd.cpp (limited to 'src/performcmd.cpp') diff --git a/src/performcmd.cpp b/src/performcmd.cpp deleted file mode 100644 index 8eafc66..0000000 --- a/src/performcmd.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "performcmd.h" -#include "builder.h" -#include "viewer.h" - -PerformCmd::PerformCmd( const char *sCmd, const char *sTarget ) : - Perform( sTarget ), - sCommand( sCmd ) -{ -} - -PerformCmd::~PerformCmd() -{ -} - -void PerformCmd::execute( class Builder &bld ) -{ - bld.view().executeCmd( sCommand ); - int ret; - if( (ret = system( sCommand.getString() )) != 0 ) - { - printf("Error code: %d\n", WEXITSTATUS(ret) ); - exit( WEXITSTATUS(ret) ); - } -} - -- cgit v1.2.3