From: Guilherme Maciel Ferreira Date: Thu, 23 Jun 2011 18:40:43 +0000 (-0300) Subject: Using inheritance to commute between pingers X-Git-Tag: v1.1^2~69 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=3c18d612d07cddcb7d42c02c1a65500fba2307ca;p=pingcheck Using inheritance to commute between pingers --- diff --git a/src/icmp/icmppinger.h b/src/icmp/icmppinger.h index 992917b..a64fd39 100644 --- a/src/icmp/icmppinger.h +++ b/src/icmp/icmppinger.h @@ -10,6 +10,8 @@ #include #include +#include "host/pinger.h" + class IcmpPacket; //----------------------------------------------------------------------------- @@ -20,7 +22,7 @@ class IcmpPacket; * @brief This class performs ping to host using Boost Asio. * Scope: one object per host. */ -class IcmpPinger +class IcmpPinger : public Pinger { public: IcmpPinger(