// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdromutl.h,v 1.2 1999/06/05 03:54:29 jgg Exp $
+// $Id: cdromutl.h,v 1.3 2001/05/07 05:06:52 jgg Exp $
/* ######################################################################
CDROM Utilities - Some functions to manipulate CDROM mounts.
#include <string>
+using std::string;
+
#ifdef __GNUG__
#pragma interface "apt-pkg/cdromutl.h"
#endif
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: configuration.h,v 1.13 2001/03/11 07:22:19 jgg Exp $
+// $Id: configuration.h,v 1.14 2001/05/07 05:06:52 jgg Exp $
/* ######################################################################
Configuration Class
#include <string>
+using std::string;
+
class Configuration
{
public:
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: error.h,v 1.7 2001/02/20 07:03:17 jgg Exp $
+// $Id: error.h,v 1.8 2001/05/07 05:06:52 jgg Exp $
/* ######################################################################
Global Erorr Class - Global error mechanism
#include <string>
+using std::string;
+
class GlobalError
{
struct Item
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: fileutl.h,v 1.25 2001/04/22 05:42:53 jgg Exp $
+// $Id: fileutl.h,v 1.26 2001/05/07 05:06:52 jgg Exp $
/* ######################################################################
File Utilities
#include <string>
+using std::string;
+
class FileFd
{
protected:
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: md5.h,v 1.5 2001/02/20 07:03:17 jgg Exp $
+// $Id: md5.h,v 1.6 2001/05/07 05:06:52 jgg Exp $
/* ######################################################################
MD5SumValue - Storage for a MD5Sum
#include <string>
+using std::string;
+
class MD5Summation;
class MD5SumValue
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: progress.h,v 1.5 1999/01/18 06:20:08 jgg Exp $
+// $Id: progress.h,v 1.6 2001/05/07 05:06:52 jgg Exp $
/* ######################################################################
OpProgress - Operation Progress
#include <string>
#include <sys/time.h>
+using std::string;
+
class Configuration;
class OpProgress
{
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: sha1.h,v 1.2 2001/04/25 07:30:13 tausq Exp $
+// $Id: sha1.h,v 1.3 2001/05/07 05:05:47 jgg Exp $
/* ######################################################################
SHA1SumValue - Storage for a SHA-1 hash.
#include <string>
+using std::string;
+
class SHA1Summation;
class SHA1SumValue
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: debversion.cc,v 1.2 2001/02/20 07:03:17 jgg Exp $
+// $Id: debversion.cc,v 1.3 2001/05/07 05:14:53 jgg Exp $
/* ######################################################################
Debian Version - Versioning system for Debian
#include <apt-pkg/pkgcache.h>
#include <stdlib.h>
+#include <ctype.h>
/*}}}*/
debVersioningSystem debVS;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: dpkgpm.cc,v 1.19 2001/02/22 06:26:27 jgg Exp $
+// $Id: dpkgpm.cc,v 1.20 2001/05/07 05:14:24 jgg Exp $
/* ######################################################################
DPKG Package Manager - Provide an interface to dpkg
#include <apt-pkg/configuration.h>
#include <apt-pkg/depcache.h>
#include <apt-pkg/strutl.h>
-
+
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <signal.h>
#include <errno.h>
#include <stdio.h>
+#include <iostream>
+
+using namespace std;
/*}}}*/
// DPkgPM::pkgDPkgPM - Constructor /*{{{*/
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: dpkgpm.h,v 1.7 2001/02/20 07:03:17 jgg Exp $
+// $Id: dpkgpm.h,v 1.8 2001/05/07 05:05:13 jgg Exp $
/* ######################################################################
DPKG Package Manager - Provide an interface to dpkg
#include <vector>
#include <stdio.h>
+using std::vector;
+
class pkgDPkgPM : public pkgPackageManager
{
protected: