2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
26 #ifndef __CONNECTPROG_H__
27 #define __CONNECTPROG_H__
31 // Stages in establishing a connection with NetDial
34 * Defines the stages in establishing a connection with dial-up networking.
36 * The stages which may be reported depend on the type of connection being made.
37 * Stage information is usually read from a TNifProgress::iStage member.
41 * @deprecated 7.0s - maintained for compatibility with 6.1\n
42 * This enumeration is still used by the new RGenericAgent API.\n\n
43 * New software should use the CSD progress values defined in csdprog.h
46 * For a \b Dial \b Up \b Connection (outgoing call), the following stages are reported
48 * (the meaning of each enumerator is defined in the enumeration values / member list, below):
49 * -# EStartingSelection
50 * -# EFinishedSelection
51 * -# EStartingDialling
52 * -# EFinishedDialling
55 * -# EGettingLoginInfo
63 * For a \b Dial \b In \b Connection (incoming call), the following stages are
64 * reported in this order:
71 * For a \b Direct \b Connection, the following stages are reported in this order:
72 * -# EStartingSelection
73 * -# EFinishedSelection
85 /** Start selection of service and location. */
87 /** Selection of service and location is complete. */
89 /** Starting the dialling phase. */
91 /** Dialling phase complete. */
93 /** Start scanning the script. */
95 /** Scanning the script is complete. */
97 /** Get login information from database or user */
99 /** The fetching of login information is complete. */
101 /** Start the connection process; executes the script, if there is one */
102 EStartingConnect, // 10
103 /** Connection process is complete */
105 /** Start the login process; executes the script, if there is one. */
107 /** Login process is complete */
109 /** The connection is now open */
111 /** Starting the hang-up process */
113 /** Hang up process is complete */
115 /** Start the answering phase. */
117 /** Answering is complete */
119 /** Error setting overrides (note that this is reported only if an
120 * error occurs, in which case it will be the first stage of the connection). */