diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-14 21:35:18 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-14 21:35:18 +0000 |
commit | 2a5db53f266db4719e413ea713edc4e48329835d (patch) | |
tree | 200350f18faff6a433864544841d4b72ab5e65da | |
parent | 2a10d964f0bd5d64210adb0537ad04f9410f56db (diff) | |
download | build-2a5db53f266db4719e413ea713edc4e48329835d.tar.gz build-2a5db53f266db4719e413ea713edc4e48329835d.tar.bz2 build-2a5db53f266db4719e413ea713edc4e48329835d.tar.xz build-2a5db53f266db4719e413ea713edc4e48329835d.zip |
Ok, now I've actually added the make viewer.
-rw-r--r-- | src/viewermake.cpp | 19 | ||||
-rw-r--r-- | src/viewermake.h | 20 |
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 | |||
5 | PluginInterface2( make, ViewerMake, Viewer, "Mike Buland", 0, 1 ); | ||
6 | |||
7 | ViewerMake::ViewerMake() | ||
8 | { | ||
9 | } | ||
10 | |||
11 | ViewerMake::~ViewerMake() | ||
12 | { | ||
13 | } | ||
14 | |||
15 | void 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 | |||
8 | class ViewerMake : public Viewer | ||
9 | { | ||
10 | public: | ||
11 | ViewerMake(); | ||
12 | virtual ~ViewerMake(); | ||
13 | |||
14 | virtual void executeCmd( const std::string &sCmd ); | ||
15 | |||
16 | private: | ||
17 | |||
18 | }; | ||
19 | |||
20 | #endif | ||