diff options
Diffstat (limited to 'fluid/app/args.h')
| -rw-r--r-- | fluid/app/args.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/fluid/app/args.h b/fluid/app/args.h index 80dfa2290..1165c4f58 100644 --- a/fluid/app/args.h +++ b/fluid/app/args.h @@ -17,7 +17,7 @@ #ifndef FLUID_APP_ARGS_H #define FLUID_APP_ARGS_H -#include <string> +#include <FL/filename.H> namespace fld { namespace app { @@ -29,21 +29,21 @@ class Args { int arg(int argc, char** argv, int& i); public: /// Set, if Fluid was started with the command line argument -u - int update_file { 0 }; // fluid -u + int update_file; /// Set, if Fluid was started with the command line argument -c - int compile_file { 0 }; // fluid -c + int compile_file; /// Set, if Fluid was started with the command line argument -cs - int compile_strings { 0 }; // fluid -cs + int compile_strings; /// command line arguments that overrides the generate code file extension or name - std::string code_filename { }; // fluid -o filename + char code_filename[FL_PATH_MAX]; /// command line arguments that overrides the generate header file extension or name - std::string header_filename { }; // fluid -h filename + char header_filename[FL_PATH_MAX]; /// if set, generate images for automatic documentation in this directory - std::string autodoc_path { }; // fluid --autodoc path + char autodoc_path[FL_PATH_MAX]; /// Set, if Fluid was started with the command line argument -v - int show_version { 0 }; // fluid -v + int show_version; /// Constructor. - Args() = default; + Args(); // Load args from command line into variables. int load(int argc, char **argv); }; @@ -52,4 +52,3 @@ public: } // namespace fld #endif // FLUID_APP_ARGS_H - |
