@@ -14,9 +14,6 @@
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/arfile.h"
-#endif
#include <apt-pkg/arfile.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/error.h>
@@ -15,9 +15,6 @@
#ifndef PKGLIB_ARFILE_H
#define PKGLIB_ARFILE_H
-#pragma interface "apt-pkg/arfile.h"
#include <string>
#include <apt-pkg/fileutl.h>
@@ -16,9 +16,6 @@
-#pragma implementation "apt-pkg/extracttar.h"
#include <apt-pkg/extracttar.h>
@@ -14,10 +14,6 @@
#ifndef PKGLIB_EXTRACTTAR_H
#define PKGLIB_EXTRACTTAR_H
-#pragma interface "apt-pkg/extracttar.h"
-
#include <apt-pkg/dirstream.h>
@@ -8,10 +8,6 @@
-#pragma implementation "apt-pkg/database.h"
#include <apt-pkg/database.h>
@@ -21,10 +21,6 @@
#ifndef PKGLIB_DATABASE_H
#define PKGLIB_DATABASE_H
-#pragma interface "apt-pkg/database.h"
#include <apt-pkg/filelist.h>
#include <apt-pkg/pkgcachegen.h>
@@ -16,10 +16,6 @@
-#pragma implementation "apt-pkg/debfile.h"
#include <apt-pkg/debfile.h>
@@ -23,9 +23,6 @@
#ifndef PKGLIB_DEBFILE_H
#define PKGLIB_DEBFILE_H
-#pragma interface "apt-pkg/debfile.h"
@@ -13,10 +13,6 @@
-#pragma implementation "apt-pkg/dpkgdb.h"
#include <apt-pkg/dpkgdb.h>
#include <apt-pkg/configuration.h>
@@ -19,9 +19,6 @@
#ifndef PKGLIB_DPKGDB_H
#define PKGLIB_DPKGDB_H
-#pragma interface "apt-pkg/dpkgdb.h"
@@ -11,10 +11,6 @@
-#pragma implementation "apt-pkg/dirstream.h"
@@ -25,9 +25,6 @@
#ifndef PKGLIB_DIRSTREAM_H
#define PKGLIB_DIRSTREAM_H
-#pragma interface "apt-pkg/dirstream.h"
class pkgDirStream
{
@@ -44,9 +44,6 @@
-#pragma implementation "apt-pkg/extract.h"
#include <apt-pkg/extract.h>
#include <apt-pkg/debversion.h>
@@ -17,9 +17,7 @@
#ifndef PKGLIB_EXTRACT_H
#define PKGLIB_EXTRACT_H
-#pragma interface "apt-pkg/extract.h"
+
@@ -32,10 +32,6 @@
-#pragma implementation "apt-pkg/filelist.h"
#include <apt-pkg/mmap.h>
@@ -28,9 +28,7 @@
#ifndef PKGLIB_FILELIST_H
#define PKGLIB_FILELIST_H
-#pragma interface "apt-pkg/filelist.h"
@@ -13,9 +13,6 @@
-#pragma implementation "apt-pkg/acquire-item.h"
#include <apt-pkg/acquire-item.h>
#include <apt-pkg/sourcelist.h>
@@ -27,9 +27,6 @@
#include <apt-pkg/pkgrecords.h>
#include <apt-pkg/indexrecords.h>
-#pragma interface "apt-pkg/acquire-item.h"
// Item to acquire
class pkgAcquire::Item
-#pragma implementation "apt-pkg/acquire-method.h"
#include <apt-pkg/acquire-method.h>
-#pragma interface "apt-pkg/acquire-method.h"
class Hashes;
class pkgAcqMethod
@@ -12,9 +12,6 @@
-#pragma implementation "apt-pkg/acquire-worker.h"
#include <apt-pkg/acquire-worker.h>
#include <apt-pkg/acquire.h>
-#pragma interface "apt-pkg/acquire-worker.h"
// Interfacing to the method process
class pkgAcquire::Worker
-#pragma implementation "apt-pkg/acquire.h"
@@ -38,9 +38,6 @@
using std::vector;
using std::string;
-#pragma interface "apt-pkg/acquire.h"
#include <sys/time.h>
#include <unistd.h>
-#pragma implementation "apt-pkg/algorithms.h"
#include <apt-pkg/algorithms.h>
@@ -30,9 +30,6 @@
#ifndef PKGLIB_ALGORITHMS_H
#define PKGLIB_ALGORITHMS_H
-#pragma interface "apt-pkg/algorithms.h"
#include <apt-pkg/packagemanager.h>
#include <apt-pkg/depcache.h>
@@ -12,10 +12,6 @@
-#pragma implementation "apt-pkg/cachefile.h"
#include <apt-pkg/cachefile.h>
@@ -17,9 +17,6 @@
#ifndef PKGLIB_CACHEFILE_H
#define PKGLIB_CACHEFILE_H
-#pragma interface "apt-pkg/cachefile.h"
@@ -31,9 +31,6 @@
#ifndef PKGLIB_CACHEITERATORS_H
#define PKGLIB_CACHEITERATORS_H
-#pragma interface "apt-pkg/cacheiterators.h"
// Package Iterator
class pkgCache::PkgIterator
@@ -1,9 +1,6 @@
/*
*/
-#pragma implementation "apt-pkg/cdrom.h"
#include<apt-pkg/init.h>
#include<apt-pkg/error.h>
#include<apt-pkg/cdromutl.h>
@@ -5,9 +5,6 @@
#include<string>
#include<vector>
-#pragma interface "apt-pkg/cdrom.h"
using namespace std;
// Includes /*{{{*/
-#pragma implementation "apt-pkg/clean.h"
#include <apt-pkg/clean.h>
@@ -10,9 +10,6 @@
#ifndef APTPKG_CLEAN_H
#define APTPKG_CLEAN_H
-#pragma interface "apt-pkg/clean.h"
#include <apt-pkg/pkgcache.h>
-#pragma implementation "apt-pkg/cdromutl.h"
#include <apt-pkg/cdromutl.h>
#include <apt-pkg/md5.h>
-#pragma interface "apt-pkg/cdromutl.h"
bool MountCdrom(string Path);
bool UnmountCdrom(string Path);
bool IdentCdrom(string CD,string &Res,unsigned int Version = 2);
@@ -11,9 +11,6 @@
// Include files /*{{{*/
-#pragma implementation "apt-pkg/cmndline.h"
#include <apt-pkg/cmndline.h>
@@ -44,9 +44,7 @@
#ifndef PKGLIB_CMNDLINE_H
#define PKGLIB_CMNDLINE_H
-#pragma interface "apt-pkg/cmndline.h"
-#pragma implementation "apt-pkg/configuration.h"
#ifndef PKGLIB_CONFIGURATION_H
#define PKGLIB_CONFIGURATION_H
-#pragma interface "apt-pkg/configuration.h"
#include <iostream>
@@ -15,10 +15,6 @@
-#pragma implementation "apt-pkg/crc-16.h"
#include <apt-pkg/crc-16.h>
@@ -10,10 +10,6 @@
#ifndef APTPKG_CRC16_H
#define APTPKG_CRC16_H
-#pragma interface "apt-pkg/crc-16.h"
#define INIT_FCS 0xffff
unsigned short AddCRC16(unsigned short fcs, void const *buf,
unsigned long len);
-#pragma implementation "apt-pkg/error.h"
@@ -40,9 +40,7 @@
#ifndef PKGLIB_ERROR_H
#define PKGLIB_ERROR_H
-#pragma interface "apt-pkg/error.h"
#ifdef __GNUG__
// Methods have a hidden this parameter that is visible to this attribute
-#pragma implementation "apt-pkg/fileutl.h"
#include <apt-pkg/sptr.h>
@@ -21,9 +21,6 @@
#ifndef PKGLIB_FILEUTL_H
#define PKGLIB_FILEUTL_H
-#pragma interface "apt-pkg/fileutl.h"
-#pragma implementation "apt-pkg/hashes.h"
#include <apt-pkg/hashes.h>
#ifndef APTPKG_HASHES_H
#define APTPKG_HASHES_H
-#pragma interface "apt-pkg/hashes.h"
#include <apt-pkg/sha1.h>
@@ -35,10 +35,6 @@
-#pragma implementation "apt-pkg/md5.h"
#ifndef APTPKG_MD5_H
#define APTPKG_MD5_H
-#pragma interface "apt-pkg/md5.h"
#include <algorithm>
-#pragma implementation "apt-pkg/mmap.h"
#define _BSD_SOURCE
#ifndef PKGLIB_MMAP_H
#define PKGLIB_MMAP_H
-#pragma interface "apt-pkg/mmap.h"
@@ -8,9 +8,6 @@
-#pragma implementation "apt-pkg/progress.h"
#include <apt-pkg/progress.h>
#ifndef PKGLIB_PROGRESS_H
#define PKGLIB_PROGRESS_H
-#pragma interface "apt-pkg/progress.h"
@@ -29,10 +29,6 @@
/*}}} */
-#pragma implementation "apt-pkg/sha1.h"
#ifndef APTPKG_SHA1_H
#define APTPKG_SHA1_H
-#pragma interface "apt-pkg/sha1.h"
#ifndef APTPKG_SHA256_H
#define APTPKG_SHA256_H
-#pragma interface "apt-pkg/sha256.h"
-#pragma implementation "apt-pkg/strutl.h"
@@ -16,9 +16,7 @@
#ifndef STRUTL_H
#define STRUTL_H
-#pragma interface "apt-pkg/strutl.h"
#include <stdlib.h>
@@ -9,10 +9,6 @@
-#pragma implementation "apt-pkg/debindexfile.h"
#include <apt-pkg/debindexfile.h>
#include <apt-pkg/debsrcrecords.h>
#include <apt-pkg/deblistparser.h>
#ifndef PKGLIB_DEBINDEXFILE_H
#define PKGLIB_DEBINDEXFILE_H
-#pragma interface "apt-pkg/debindexfile.h"
#include <apt-pkg/indexfile.h>
@@ -1,9 +1,5 @@
// ijones, walters
-#pragma implementation "apt-pkg/debmetaindex.h"
#include <apt-pkg/debmetaindex.h>
@@ -2,10 +2,6 @@
#ifndef PKGLIB_DEBMETAINDEX_H
#define PKGLIB_DEBMETAINDEX_H
-#pragma interface "apt-pkg/debmetaindex.h"
#include <apt-pkg/metaindex.h>
-#pragma implementation "apt-pkg/debrecords.h"
#include <apt-pkg/debrecords.h>
#ifndef PKGLIB_DEBRECORDS_H
#define PKGLIB_DEBRECORDS_H
-#pragma interface "apt-pkg/debrecords.h"
#include <apt-pkg/tagfile.h>
-#pragma implementation "apt-pkg/debsrcrecords.h"
#ifndef PKGLIB_DEBSRCRECORDS_H
#define PKGLIB_DEBSRCRECORDS_H
-#pragma interface "apt-pkg/debsrcrecords.h"
#include <apt-pkg/srcrecords.h>
-#pragma implementation "apt-pkg/debsystem.h"
#include <apt-pkg/debsystem.h>
#ifndef PKGLIB_DEBSYSTEM_H
#define PKGLIB_DEBSYSTEM_H
-#pragma interface "apt-pkg/debsystem.h"
#include <apt-pkg/pkgsystem.h>
class debStatusIndex;
#define APT_COMPATIBILITY 986
-#pragma implementation "apt-pkg/debversion.h"
@@ -12,9 +12,7 @@
#ifndef PKGLIB_DEBVERSION_H
#define PKGLIB_DEBVERSION_H
-#pragma interface "apt-pkg/debversion.h"
#include <apt-pkg/version.h>
-#pragma implementation "apt-pkg/dpkgpm.h"
#include <apt-pkg/dpkgpm.h>
#ifndef PKGLIB_DPKGPM_H
#define PKGLIB_DPKGPM_H
-#pragma interface "apt-pkg/dpkgpm.h"
#include <vector>
#include <stdio.h>
-#pragma implementation "apt-pkg/depcache.h"
#ifndef PKGLIB_DEPCACHE_H
#define PKGLIB_DEPCACHE_H
-#pragma interface "apt-pkg/depcache.h"
-#pragma implementation "apt-pkg/indexfile.h"
@@ -22,9 +22,6 @@
#ifndef PKGLIB_INDEXFILE_H
#define PKGLIB_INDEXFILE_H
-#pragma interface "apt-pkg/indexfile.h"
@@ -3,9 +3,6 @@
// $Id: indexrecords.cc,v 1.1.2.4 2003/12/30 02:11:43 mdz Exp $
-#pragma implementation "apt-pkg/indexrecords.h"
@@ -5,9 +5,7 @@
#ifndef PKGLIB_INDEXRECORDS_H
#define PKGLIB_INDEXRECORDS_H
-#pragma interface "apt-pkg/indexrecords.h"
#ifndef PKGLIB_METAINDEX_H
#define PKGLIB_METAINDEX_H
-/* #ifdef __GNUG__ */
-/* #pragma interface "apt-pkg/metaindex.h" */
-/* #endif */
@@ -63,9 +63,6 @@
-#pragma implementation "apt-pkg/orderlist.h"
#include <apt-pkg/orderlist.h>
#ifndef PKGLIB_ORDERLIST_H
#define PKGLIB_ORDERLIST_H
-#pragma interface "apt-pkg/orderlist.h"
-#pragma implementation "apt-pkg/packagemanager.h"
#ifndef PKGLIB_PACKAGEMANAGER_H
#define PKGLIB_PACKAGEMANAGER_H
-#pragma interface "apt-pkg/packagemanager.h"
@@ -20,11 +20,6 @@
-#pragma implementation "apt-pkg/pkgcache.h"
-#pragma implementation "apt-pkg/cacheiterators.h"
#ifndef PKGLIB_PKGCACHE_H
#define PKGLIB_PKGCACHE_H
-#pragma interface "apt-pkg/pkgcache.h"
#include <time.h>
-#pragma implementation "apt-pkg/pkgcachegen.h"
#ifndef PKGLIB_PKGCACHEGEN_H
#define PKGLIB_PKGCACHEGEN_H
-#pragma interface "apt-pkg/pkgcachegen.h"
@@ -9,9 +9,6 @@
-#pragma implementation "apt-pkg/pkgrecords.h"
#ifndef PKGLIB_PKGRECORDS_H
#define PKGLIB_PKGRECORDS_H
-#pragma interface "apt-pkg/pkgrecords.h"
-#pragma implementation "apt-pkg/pkgsystem.h"
#include <apt-pkg/policy.h>
#include <cassert>
@@ -37,9 +37,6 @@
#ifndef PKGLIB_PKGSYSTEM_H
#define PKGLIB_PKGSYSTEM_H
-#pragma interface "apt-pkg/pkgsystem.h"
-#pragma implementation "apt-pkg/policy.h"
@@ -33,9 +33,6 @@
#ifndef PKGLIB_POLICY_H
#define PKGLIB_POLICY_H
-#pragma interface "apt-pkg/policy.h"
#include <apt-pkg/versionmatch.h>
-#pragma implementation "apt-pkg/sourcelist.h"
@@ -35,9 +35,6 @@
-#pragma interface "apt-pkg/sourcelist.h"
class pkgAquire;
class pkgSourceList
-#pragma implementation "apt-pkg/srcrecords.h"
#ifndef PKGLIB_SRCRECORDS_H
#define PKGLIB_SRCRECORDS_H
-#pragma interface "apt-pkg/srcrecords.h"
-#pragma implementation "apt-pkg/tagfile.h"
@@ -20,9 +20,6 @@
#ifndef PKGLIB_TAGFILE_H
#define PKGLIB_TAGFILE_H
-#pragma interface "apt-pkg/tagfile.h"