source: projects/synaptic/trunk/common/rpmindexcopy.h @ 280

Revision 280, 728 bytes checked in by yasumichi, 15 years ago (diff)

first import

Line 
1
2/* ######################################################################
3
4   Index Copying - Aid for copying and verifying the index files
5   
6   #####################################################################
7 */
8
9#ifndef RPMINDEXCOPY_H
10#define RPMINDEXCOPY_H
11
12#include <vector>
13#include <string>
14
15class pkgTagSection;
16class FileFd;
17
18class RPMIndexCopy {
19 protected:
20
21   string RipComponent(string Path);
22   string RipDirectory(string Path);
23   string RipDistro(string Path);
24
25   void ConvertToSourceList(string CD, string &Path);
26
27 public:
28
29   bool CopyPackages(string CDROM, string Name, vector<string> &List);
30};
31
32
33class RPMPackageCopy:public RPMIndexCopy {
34};
35
36class RPMSourceCopy:public RPMIndexCopy {
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.