diff options
Diffstat (limited to '')
-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 | ||