sources.h 399 B

12345678910111213141516171819202122232425
  1. #ifndef SOURCES_H
  2. #define SOURCES_H
  3. #include <apt-pkg/tagfile.h>
  4. #include <string>
  5. class DscExtract
  6. {
  7. public:
  8. std::string Data;
  9. pkgTagSection Section;
  10. unsigned long long Length;
  11. bool IsClearSigned;
  12. bool TakeDsc(const void *Data, unsigned long long Size);
  13. bool Read(std::string FileName);
  14. DscExtract() : Length(0), IsClearSigned(false) {};
  15. ~DscExtract() {};
  16. };
  17. #endif