]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexcopy.h
create the partial dirs also automatic if only Dir::Cache::archives or
[apt.git] / apt-pkg / indexcopy.h
index fa8e9c1562475f4d12a947e6044bb1ed66160a41..9e5ad4e43f1cf7243361a433fc19dea819b804d2 100644 (file)
@@ -22,7 +22,7 @@ class FileFd;
 class indexRecords;
 class pkgCdromStatus;
 
-class IndexCopy
+class IndexCopy                                                                /*{{{*/
 {
    protected:
    
@@ -43,9 +43,10 @@ class IndexCopy
 
    bool CopyPackages(string CDROM,string Name,vector<string> &List,
                     pkgCdromStatus *log);
+   virtual ~IndexCopy() {};
 };
-
-class PackageCopy : public IndexCopy
+                                                                       /*}}}*/
+class PackageCopy : public IndexCopy                                   /*{{{*/
 {
    protected:
    
@@ -56,8 +57,8 @@ class PackageCopy : public IndexCopy
    
    public:
 };
-
-class SourceCopy : public IndexCopy
+                                                                       /*}}}*/
+class SourceCopy : public IndexCopy                                    /*{{{*/
 {
    protected:
    
@@ -68,8 +69,18 @@ class SourceCopy : public IndexCopy
    
    public:
 };
+                                                                       /*}}}*/
+class TranslationsCopy                                                 /*{{{*/
+{
+   protected:
+   pkgTagSection *Section;
 
-class SigVerify 
+   public:
+   bool CopyTranslations(string CDROM,string Name,vector<string> &List,
+                        pkgCdromStatus *log);
+};
+                                                                       /*}}}*/
+class SigVerify                                                                /*{{{*/
 {
    bool Verify(string prefix,string file, indexRecords *records);
    bool CopyMetaIndex(string CDROM, string CDName, 
@@ -79,5 +90,6 @@ class SigVerify
    bool CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
                      vector<string> PkgList,vector<string> SrcList);
 };
+                                                                       /*}}}*/
 
 #endif