aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-14 21:35:18 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-14 21:35:18 +0000
commit2a5db53f266db4719e413ea713edc4e48329835d (patch)
tree200350f18faff6a433864544841d4b72ab5e65da /src
parent2a10d964f0bd5d64210adb0537ad04f9410f56db (diff)
downloadbuild-2a5db53f266db4719e413ea713edc4e48329835d.tar.gz
build-2a5db53f266db4719e413ea713edc4e48329835d.tar.bz2
build-2a5db53f266db4719e413ea713edc4e48329835d.tar.xz
build-2a5db53f266db4719e413ea713edc4e48329835d.zip
Ok, now I've actually added the make viewer.
Diffstat (limited to '')
-rw-r--r--src/viewermake.cpp19
-rw-r--r--src/viewermake.h20
2 files changed, 39 insertions, 0 deletions
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 @@
1#include "viewermake.h"
2#include "perform.h"
3#include "plugger.h"
4
5PluginInterface2( make, ViewerMake, Viewer, "Mike Buland", 0, 1 );
6
7ViewerMake::ViewerMake()
8{
9}
10
11ViewerMake::~ViewerMake()
12{
13}
14
15void ViewerMake::executeCmd( const std::string &sCmd )
16{
17 printf("%s\n", sCmd.c_str() );
18}
19
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 @@
1#ifndef VIEWER_MAKE_H
2#define VIEWER_MAKE_H
3
4#include <stdint.h>
5
6#include "viewer.h"
7
8class ViewerMake : public Viewer
9{
10public:
11 ViewerMake();
12 virtual ~ViewerMake();
13
14 virtual void executeCmd( const std::string &sCmd );
15
16private:
17
18};
19
20#endif