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 "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
26 #ifndef __CONNECTPROG_H__
27 #define __CONNECTPROG_H__
29 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
33 // Stages in establishing a connection with NetDial
36 * Defines the stages in establishing a connection with dial-up networking.
38 * The stages which may be reported depend on the type of connection being made.
39 * Stage information is usually read from a TNifProgress::iStage member.
43 * @deprecated 7.0s - maintained for compatibility with 6.1\n
44 * This enumeration is still used by the new RGenericAgent API.\n\n
45 * New software should use the CSD progress values defined in csdprog.h
48 * For a \b Dial \b Up \b Connection (outgoing call), the following stages are reported
50 * (the meaning of each enumerator is defined in the enumeration values / member list, below):
51 * -# EStartingSelection
52 * -# EFinishedSelection
53 * -# EStartingDialling
54 * -# EFinishedDialling
57 * -# EGettingLoginInfo
65 * For a \b Dial \b In \b Connection (incoming call), the following stages are
66 * reported in this order:
73 * For a \b Direct \b Connection, the following stages are reported in this order:
74 * -# EStartingSelection
75 * -# EFinishedSelection
87 /** Start selection of service and location. */
89 /** Selection of service and location is complete. */
91 /** Starting the dialling phase. */
93 /** Dialling phase complete. */
95 /** Start scanning the script. */
97 /** Scanning the script is complete. */
99 /** Get login information from database or user */
101 /** The fetching of login information is complete. */
103 /** Start the connection process; executes the script, if there is one */
104 EStartingConnect, // 10
105 /** Connection process is complete */
107 /** Start the login process; executes the script, if there is one. */
109 /** Login process is complete */
111 /** The connection is now open */
113 /** Starting the hang-up process */
115 /** Hang up process is complete */
117 /** Start the answering phase. */
119 /** Answering is complete */
121 /** Error setting overrides (note that this is reported only if an
122 * error occurs, in which case it will be the first stage of the connection). */