// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-method.h,v 1.5 1998/12/03 07:29:17 jgg Exp $
+// $Id: acquire-method.h,v 1.9 1998/12/22 08:10:34 jgg Exp $
/* ######################################################################
Acquire Method - Method helper class + functions
// State
vector<string> Messages;
FetchItem *Queue;
+ FetchItem *QueueBack;
// Handlers for messages
virtual bool Configuration(string Message);
// Outgoing messages
void Fail(bool Transient = false);
+ inline void Fail(const char *Why, bool Transient = false) {Fail(string(Why),Transient);};
void Fail(string Why, bool Transient = false);
void URIStart(FetchResult &Res);
void URIDone(FetchResult &Res,FetchResult *Alt = 0);
- void MediaFail(string Required,string Drive);
+ bool MediaFail(string Required,string Drive);
public: