| Revision 280,
728 bytes
checked in by yasumichi, 17 years ago
(diff) |
|
first import
|
| Rev | Line | |
|---|
| [280] | 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 | |
|---|
| 15 | class pkgTagSection; |
|---|
| 16 | class FileFd; |
|---|
| 17 | |
|---|
| 18 | class 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 | |
|---|
| 33 | class RPMPackageCopy:public RPMIndexCopy { |
|---|
| 34 | }; |
|---|
| 35 | |
|---|
| 36 | class RPMSourceCopy:public RPMIndexCopy { |
|---|
| 37 | }; |
|---|
| 38 | |
|---|
| 39 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.