equal
deleted
inserted
replaced
|
1 // ping_misc.h |
|
2 // |
|
3 // Copyright (c) 2009 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #ifndef __PING_MISC_H |
|
14 #define __PING_MISC_H |
|
15 |
|
16 #define IPv4 0 |
|
17 #define IPv6 1 |
|
18 |
|
19 class CPing; |
|
20 |
|
21 //this class is used as pure interface, |
|
22 //should be named as M class by Symbian convention. |
|
23 //the class name is retained for the purpose of |
|
24 //reference to original class name in pingapp.exe |
|
25 |
|
26 class CPingContainer |
|
27 { |
|
28 public: |
|
29 //TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
|
30 virtual void WriteHostL(TDes& aHostname) = 0; |
|
31 virtual void UpdateStatisticsL() = 0; |
|
32 virtual void WriteLine(const TDesC& abuf) = 0; |
|
33 virtual void OnEnd() = 0; |
|
34 //void ResetScreen(); |
|
35 |
|
36 //protected: |
|
37 //void FocusChanged(TDrawNow aDrawNow); |
|
38 }; |
|
39 |
|
40 #endif |