]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/getopt-long.hh
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / flower / include / getopt-long.hh
index 3e5d7000f8c8be827fcadb6dc3dd0dc2acafb730..52c819822c0facc1b68405ae4f7b6fc33378e840 100644 (file)
@@ -4,9 +4,6 @@
 #include <cstdio>
 
 #include "std-string.hh"
-using namespace std;
-
-#include "string.hh"
 
 /**
    a struct this for initialising the commandline options.
@@ -23,12 +20,12 @@ struct Long_option_init
 
   char const *help_str0_;
 
-  Std_string to_string () const;
-  Std_string str_for_help () const;
+  string to_string () const;
+  string str_for_help () const;
   //   NO constructor!
 
   static int compare (Long_option_init const &, Long_option_init const &);
-  static Std_string table_string (Long_option_init *);
+  static string table_string (Long_option_init *);
 };
 
 /** C++ for version of long_getopt.  For processing GNU style command
@@ -57,7 +54,8 @@ public:
   /** errorcodes: no error, argument expected, no argument expected,
       unknown option, illegal argument (eg. int expected).  */
   enum Errorcod { E_NOERROR = 0, E_ARGEXPECT, E_NOARGEXPECT, E_UNKNOWNOPTION,
-                 E_ILLEGALARG };
+                  E_ILLEGALARG
+                };
 
   /// argument. Set to 0 if not present
   char const *optional_argument_str0_;