Mailinglist Archive: zypp-devel (65 mails)
| < Previous | Next > |
[zypp-devel] Re: question about Media virtuals
- From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
- Date: Wed, 25 Feb 2009 12:02:33 +0100
- Message-id: <49A52549.5030504@xxxxxxx>
Michael Andres wrote:
normal virtual, providing a base implementation.
All derived handlers override this functions. 99% of them just to call
MediaHandler::getFile, the only ones that actually overrides it
is curl, who has a different implementation. Why the other handles just
don't override it?
Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Tuesday 24 February 2009 18:49:21 you wrote:I am not talking about pure virtuals here. MediaHandler::getFile is a
Depends on the design of the base class.
This is usually the case if the base class defines all pure virtual:
virtual int pure() = 0;
normal virtual, providing a base implementation.
All derived handlers override this functions. 99% of them just to call
MediaHandler::getFile, the only ones that actually overrides it
is curl, who has a different implementation. Why the other handles just
don't override it?
Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |