From 2a5db53f266db4719e413ea713edc4e48329835d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 14 Sep 2006 21:35:18 +0000 Subject: Ok, now I've actually added the make viewer. --- src/viewermake.cpp | 19 +++++++++++++++++++ src/viewermake.h | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 src/viewermake.cpp create mode 100644 src/viewermake.h (limited to 'src') diff --git a/src/viewermake.cpp b/src/viewermake.cpp new file mode 100644 index 0000000..0f88f7f --- /dev/null +++ b/src/viewermake.cpp @@ -0,0 +1,19 @@ +#include "viewermake.h" +#include "perform.h" +#include "plugger.h" + +PluginInterface2( make, ViewerMake, Viewer, "Mike Buland", 0, 1 ); + +ViewerMake::ViewerMake() +{ +} + +ViewerMake::~ViewerMake() +{ +} + +void ViewerMake::executeCmd( const std::string &sCmd ) +{ + printf("%s\n", sCmd.c_str() ); +} + diff --git a/src/viewermake.h b/src/viewermake.h new file mode 100644 index 0000000..11b8741 --- /dev/null +++ b/src/viewermake.h @@ -0,0 +1,20 @@ +#ifndef VIEWER_MAKE_H +#define VIEWER_MAKE_H + +#include + +#include "viewer.h" + +class ViewerMake : public Viewer +{ +public: + ViewerMake(); + virtual ~ViewerMake(); + + virtual void executeCmd( const std::string &sCmd ); + +private: + +}; + +#endif -- cgit v1.2.3