From 0446503bbf4f53f70432d8b76288bc307214a4bd Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 21 Jul 2010 21:49:37 +0000 Subject: [PATCH] add void constructor (for python interface) and change APP_ to CTBIN_ --- src/ctbin/ctbin.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ctbin/ctbin.hpp b/src/ctbin/ctbin.hpp index 54b6375..03fc90e 100644 --- a/src/ctbin/ctbin.hpp +++ b/src/ctbin/ctbin.hpp @@ -24,8 +24,8 @@ #include "GCTALib.hpp" /* __Definitions _________________________________________________________ */ -#define APP_NAME "ctbin" -#define APP_VERSION "v1r0p0" +#define CTBIN_NAME "ctbin" +#define CTBIN_VERSION "v1r0p0" /***********************************************************************//** @@ -36,8 +36,10 @@ class ctbin : public GApplication { public: // Constructors and destructors + ctbin(void) : + GApplication(CTBIN_NAME, CTBIN_VERSION) { return; } ctbin(int argc, char *argv[]) : - GApplication(APP_NAME, APP_VERSION, argc, argv) { return; } + GApplication(CTBIN_NAME, CTBIN_VERSION, argc, argv) { return; } // Methods int run(void); -- libgit2 0.21.4