00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __DIALLER_H__
00011 #define __DIALLER_H__
00012
00013 #include <netdial.h>
00014
00015
00020 class MDialObserver {
00021 public:
00028 virtual void DialCompleted(TInt anError) = 0;
00029 };
00030
00031
00036 class CDialler : public CActive {
00037
00038 public:
00046 static CDialler *NewL(MDialObserver *aObserver);
00047
00051 ~CDialler();
00052
00057 void DialL();
00058
00062 void CancelDial();
00063
00064
00065 void DoCancel();
00066 void RunL();
00067
00068 private:
00069 CDialler(MDialObserver *aObserver);
00070 void ConstructL();
00071
00072 MDialObserver *iObserver;
00073 RNetDial iNetDial;
00074 TBool iNetDialOpen;
00075 TNifProgressBuf iProgress;
00076 TBool iDialing;
00077 };
00078
00079
00080 #endif