Commit f50d6dc5a49151eca4c5f97d9c990599f099f6bf
1 parent
0446503b
add void constructor (for python interface) and change APP_ to CTSELECT_
Showing
1 changed file
with
6 additions
and
4 deletions
src/ctselect/ctselect.hpp
| ... | ... | @@ -23,8 +23,8 @@ |
| 23 | 23 | #include "GammaLib.hpp" |
| 24 | 24 | |
| 25 | 25 | /* __Definitions _________________________________________________________ */ |
| 26 | -#define APP_NAME "ctselect" | |
| 27 | -#define APP_VERSION "v1r0p0" | |
| 26 | +#define CTSELECT_NAME "ctselect" | |
| 27 | +#define CTSELECT_VERSION "v1r0p0" | |
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | /***********************************************************************//** |
| ... | ... | @@ -35,8 +35,10 @@ |
| 35 | 35 | class ctselect : public GApplication { |
| 36 | 36 | public: |
| 37 | 37 | // Constructors and destructors |
| 38 | - ctselect(int argc, char *argv[]) : | |
| 39 | - GApplication(APP_NAME, APP_VERSION, argc, argv) { return; } | |
| 38 | + ctselect(void) : | |
| 39 | + GApplication(CTSELECT_NAME, CTSELECT_VERSION) { return; } | |
| 40 | + ctselect(int argc, char *argv[]) : | |
| 41 | + GApplication(CTSELECT_NAME, CTSELECT_VERSION, argc, argv) { return; } | |
| 40 | 42 | |
| 41 | 43 | // Methods |
| 42 | 44 | int run(void); | ... | ... |