From 3c18d612d07cddcb7d42c02c1a65500fba2307ca Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Thu, 23 Jun 2011 15:40:43 -0300 Subject: [PATCH] Using inheritance to commute between pingers --- src/icmp/icmppinger.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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( -- 1.7.1