Commit 0446503bbf4f53f70432d8b76288bc307214a4bd

Authored by knodlseder
1 parent 3a7f9a3b

add void constructor (for python interface) and change APP_ to CTBIN_

Showing 1 changed file with 5 additions and 3 deletions
src/ctbin/ctbin.hpp
... ... @@ -24,8 +24,8 @@
24 24 #include "GCTALib.hpp"
25 25  
26 26 /* __Definitions _________________________________________________________ */
27   -#define APP_NAME "ctbin"
28   -#define APP_VERSION "v1r0p0"
  27 +#define CTBIN_NAME "ctbin"
  28 +#define CTBIN_VERSION "v1r0p0"
29 29  
30 30  
31 31 /***********************************************************************//**
... ... @@ -36,8 +36,10 @@
36 36 class ctbin : public GApplication {
37 37 public:
38 38 // Constructors and destructors
  39 + ctbin(void) :
  40 + GApplication(CTBIN_NAME, CTBIN_VERSION) { return; }
39 41 ctbin(int argc, char *argv[]) :
40   - GApplication(APP_NAME, APP_VERSION, argc, argv) { return; }
  42 + GApplication(CTBIN_NAME, CTBIN_VERSION, argc, argv) { return; }
41 43  
42 44 // Methods
43 45 int run(void);
... ...