]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/cmndline.h
Merge branch 'debian/experimental-no-abi-break' into debian/sid
[apt.git] / apt-pkg / contrib / cmndline.h
index 7c0c71aa7b83abef8b962fc4e679fe720c64da81..1802766333a258703d801735c149bd75fb384e0d 100644 (file)
 #ifndef PKGLIB_CMNDLINE_H
 #define PKGLIB_CMNDLINE_H
 
-
-
+#ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/configuration.h>
+#endif
+
+class Configuration;
 
 class CommandLine
 {
@@ -81,6 +83,12 @@ class CommandLine
    unsigned int FileSize() const;
    bool DispatchArg(Dispatch *List,bool NoMatch = true);
       
+   static char const * GetCommand(Dispatch const * const Map,
+        unsigned int const argc, char const * const * const argv);
+
+   static CommandLine::Args MakeArgs(char ShortOpt, char const *LongOpt,
+        char const *ConfName, unsigned long Flags);
+
    CommandLine(Args *AList,Configuration *Conf);
    ~CommandLine();
 };