]>
git.saurik.com Git - apt.git/blob - apt-pkg/cdrom.h
4 #include<apt-pkg/init.h>
18 virtual ~pkgCdromStatus() {};
21 virtual void SetTotal(int total
) { totalSteps
= total
; };
22 // update steps, will be called regularly as a "pulse"
23 virtual void Update(string text
="", int current
=0) = 0;
25 // ask for cdrom insert
26 virtual bool ChangeCdrom() = 0;
28 virtual bool AskCdromName(string
&Name
) = 0;
29 // Progress indicator for the Index rewriter
30 virtual OpProgress
* GetOpProgress() {return NULL
; };
50 bool FindPackages(string CD
,vector
<string
> &List
,
51 vector
<string
> &SList
, vector
<string
> &SigList
,
52 string
&InfoDir
, pkgCdromStatus
*log
,
53 unsigned int Depth
= 0);
54 bool DropBinaryArch(vector
<string
> &List
);
55 bool DropRepeats(vector
<string
> &List
,const char *Name
);
56 void ReduceSourcelist(string CD
,vector
<string
> &List
);
57 bool WriteDatabase(Configuration
&Cnf
);
58 bool WriteSourceList(string Name
,vector
<string
> &List
,bool Source
);
59 int Score(string Path
);
62 bool Ident(string
&ident
, pkgCdromStatus
*log
);
63 bool Add(pkgCdromStatus
*log
);