]>
Commit | Line | Data |
---|---|---|
0118833a AL |
1 | // -*- mode: cpp; mode: fold -*- |
2 | // Description /*{{{*/ | |
3 | // $Id: acquire-worker.h,v 1.1 1998/10/15 06:59:59 jgg Exp $ | |
4 | /* ###################################################################### | |
5 | ||
6 | Acquire Worker - Worker process manager | |
7 | ||
8 | ##################################################################### */ | |
9 | /*}}}*/ | |
10 | #ifndef PKGLIB_ACQUIRE_WORKER_H | |
11 | #define PKGLIB_ACQUIRE_WORKER_H | |
12 | ||
13 | #include <apt-pkg/acquire.h> | |
14 | ||
15 | #ifdef __GNUG__ | |
16 | #pragma interface "apt-pkg/acquire-worker.h" | |
17 | #endif | |
18 | ||
19 | // Interfacing to the method process | |
20 | class pkgAcquire::Worker | |
21 | { | |
22 | protected: | |
23 | ||
24 | Queue *OwnerQ; | |
25 | MethodConfig *Config; | |
26 | Worker *Next; | |
27 | ||
28 | friend Queue; | |
29 | ||
30 | public: | |
31 | ||
32 | bool Create(); | |
33 | ||
34 | Worker(Queue *OwnerQ); | |
35 | Worker(MethodConfig *Config); | |
36 | ~Worker(); | |
37 | }; | |
38 | ||
39 | #endif |