summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:22 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:22 +0000
commit8267fe24f77f6982b4d62d8d5d43cd1efc907136 (patch)
treea5e7e3846a8522862736afbe1f1b6e7928775c6f /apt-pkg/acquire-worker.h
parentfbfb2a7cad49c38a8a830ceadbc20ab89f683718 (diff)
More or less working acquire system
Author: jgg Date: 1998-11-09 01:09:19 GMT More or less working acquire system
Diffstat (limited to 'apt-pkg/acquire-worker.h')
-rw-r--r--apt-pkg/acquire-worker.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/apt-pkg/acquire-worker.h b/apt-pkg/acquire-worker.h
index ad1ea9165..95ba340ac 100644
--- a/apt-pkg/acquire-worker.h
+++ b/apt-pkg/acquire-worker.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-worker.h,v 1.6 1998/10/30 07:53:36 jgg Exp $
+// $Id: acquire-worker.h,v 1.7 1998/11/09 01:09:24 jgg Exp $
/* ######################################################################
Acquire Worker - Worker process manager
@@ -33,6 +33,7 @@ class pkgAcquire::Worker
// The access association
Queue *OwnerQ;
+ pkgAcquireStatus *Log;
MethodConfig *Config;
string Access;
@@ -62,6 +63,7 @@ class pkgAcquire::Worker
bool SendConfiguration();
bool MethodFailure();
+ void ItemDone();
public:
@@ -70,12 +72,13 @@ class pkgAcquire::Worker
string Status;
unsigned long CurrentSize;
unsigned long TotalSize;
-
+
// Load the method and do the startup
bool QueueItem(pkgAcquire::Queue::QItem *Item);
- bool Start();
+ bool Start();
+ void Pulse();
- Worker(Queue *OwnerQ,MethodConfig *Config);
+ Worker(Queue *OwnerQ,MethodConfig *Config,pkgAcquireStatus *Log);
Worker(MethodConfig *Config);
~Worker();
};