]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/version.h
implement generic config fallback for methods
[apt.git] / apt-pkg / version.h
index 92dbc2576732edde7bd8c17bdf3375f000b8c185..5110ecaa7d9f8d0ed4e11dd1534209faca6599f4 100644 (file)
 #include <apt-pkg/strutl.h>
 #include <string>
 
 #include <apt-pkg/strutl.h>
 #include <string>
 
+#ifndef APT_8_CLEANER_HEADERS
+using std::string;
+#endif
+
 class pkgVersioningSystem
 {
    public:
    // Global list of VS's
    static pkgVersioningSystem **GlobalList;
    static unsigned long GlobalListLen;
 class pkgVersioningSystem
 {
    public:
    // Global list of VS's
    static pkgVersioningSystem **GlobalList;
    static unsigned long GlobalListLen;
-   static pkgVersioningSystem *GetVS(const char *Label);
+   static pkgVersioningSystem *GetVS(const char *Label) APT_PURE;
    
    const char *Label;
    
    
    const char *Label;
    
@@ -51,7 +55,7 @@ class pkgVersioningSystem
    APT_MKSTRCMP(CmpReleaseVer,DoCmpReleaseVer);
    
    pkgVersioningSystem();
    APT_MKSTRCMP(CmpReleaseVer,DoCmpReleaseVer);
    
    pkgVersioningSystem();
-   virtual ~pkgVersioningSystem() {};
+   virtual ~pkgVersioningSystem();
 };
 
 #endif
 };
 
 #endif