]> git.saurik.com Git - apt-legacy.git/blobdiff - apt-pkg/indexcopy.h
Attempt to skip and resync any seriously broken semantics in package sections.
[apt-legacy.git] / apt-pkg / indexcopy.h
index 4dcb2b46d8298c7bf4bb52535d38486f0a19afd6..9e5ad4e43f1cf7243361a433fc19dea819b804d2 100644 (file)
@@ -22,7 +22,7 @@ class FileFd;
 class indexRecords;
 class pkgCdromStatus;
 
-class IndexCopy
+class IndexCopy                                                                /*{{{*/
 {
    protected:
    
@@ -45,8 +45,8 @@ class IndexCopy
                     pkgCdromStatus *log);
    virtual ~IndexCopy() {};
 };
-
-class PackageCopy : public IndexCopy
+                                                                       /*}}}*/
+class PackageCopy : public IndexCopy                                   /*{{{*/
 {
    protected:
    
@@ -57,8 +57,8 @@ class PackageCopy : public IndexCopy
    
    public:
 };
-
-class SourceCopy : public IndexCopy
+                                                                       /*}}}*/
+class SourceCopy : public IndexCopy                                    /*{{{*/
 {
    protected:
    
@@ -69,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, 
@@ -80,5 +90,6 @@ class SigVerify
    bool CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
                      vector<string> PkgList,vector<string> SrcList);
 };
+                                                                       /*}}}*/
 
 #endif