telephonyprotocols/umtsgprsscpr/spudtel/inc/ceteldrivernotifier.h
author hgs
Tue, 22 Jun 2010 11:02:32 +0100
changeset 44 8b72faa1200f
permissions -rw-r--r--
201024_02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
44
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     1
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     2
// All rights reserved.
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     3
// This component and the accompanying materials are made available
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     5
// which accompanies this distribution, and is available
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     7
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     8
// Initial Contributors:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    10
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    11
// Contributors:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    12
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    13
// Description:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    14
// service change notify
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    15
// 
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    16
//
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    17
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    18
/**
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    19
 @file 
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    20
 @internalComponent
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    21
*/
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    22
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    23
#ifndef CETELDRIVERNOTIFIER_H
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    24
#define CETELDRIVERNOTIFIER_H
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    25
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    26
#include <e32base.h>
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    27
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    28
class CPdpFsmInterface;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    29
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    30
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    31
/** base notifier class */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    32
class CEtelDriverNotifier : public CActive
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    33
	{
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    34
public:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    35
	CEtelDriverNotifier(CPdpFsmInterface& aPdpFsmInterface);
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    36
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    37
	/** starts notifications */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    38
	virtual void Start() = 0;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    39
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    40
protected:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    41
	/** notifies SPUD FSM about network events */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    42
	virtual void Notify(const TRequestStatus& aStatus) = 0;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    43
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    44
	// CActive methods
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    45
	virtual void RunL();
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    46
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    47
protected:
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    48
	/** Pdp Fsm Interface for FSM notification */
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    49
	CPdpFsmInterface&	iPdpFsmInterface;
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    50
	};
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    51
8b72faa1200f 201024_02
hgs
parents:
diff changeset
    52
#endif // CETELDRIVERNOTIFIER_H