summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:04 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:04 +0000
commit0118833a3b3e65ad7296863aa7d49574eb615f83 (patch)
treebbeac95408b7a84a983cc602dae3b315ed9976d9 /apt-pkg/acquire-worker.h
parent7b0229fe01e9b300e1a67d82f7a6511c31444756 (diff)
Devel acquire module
Author: jgg Date: 1998-10-15 06:59:59 GMT Devel acquire module
Diffstat (limited to 'apt-pkg/acquire-worker.h')
-rw-r--r--apt-pkg/acquire-worker.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/apt-pkg/acquire-worker.h b/apt-pkg/acquire-worker.h
new file mode 100644
index 000000000..f01c935ae
--- /dev/null
+++ b/apt-pkg/acquire-worker.h
@@ -0,0 +1,39 @@
+// -*- mode: cpp; mode: fold -*-
+// Description /*{{{*/
+// $Id: acquire-worker.h,v 1.1 1998/10/15 06:59:59 jgg Exp $
+/* ######################################################################
+
+ Acquire Worker - Worker process manager
+
+ ##################################################################### */
+ /*}}}*/
+#ifndef PKGLIB_ACQUIRE_WORKER_H
+#define PKGLIB_ACQUIRE_WORKER_H
+
+#include <apt-pkg/acquire.h>
+
+#ifdef __GNUG__
+#pragma interface "apt-pkg/acquire-worker.h"
+#endif
+
+// Interfacing to the method process
+class pkgAcquire::Worker
+{
+ protected:
+
+ Queue *OwnerQ;
+ MethodConfig *Config;
+ Worker *Next;
+
+ friend Queue;
+
+ public:
+
+ bool Create();
+
+ Worker(Queue *OwnerQ);
+ Worker(MethodConfig *Config);
+ ~Worker();
+};
+
+#endif