williamr@2: /** williamr@2: * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@2: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file CONNECTPROG.H williamr@2: */ williamr@2: williamr@2: #ifndef __CONNECTPROG_H__ williamr@2: #define __CONNECTPROG_H__ williamr@2: williamr@4: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS williamr@2: #include williamr@4: #endif williamr@2: williamr@2: // Stages in establishing a connection with NetDial williamr@2: williamr@2: /** williamr@2: * Defines the stages in establishing a connection with dial-up networking. williamr@2: * williamr@2: * The stages which may be reported depend on the type of connection being made. williamr@2: * Stage information is usually read from a TNifProgress::iStage member. williamr@2: * williamr@2: * @publishedAll williamr@2: * @since v5.0 williamr@2: * @deprecated 7.0s - maintained for compatibility with 6.1\n williamr@2: * This enumeration is still used by the new RGenericAgent API.\n\n williamr@2: * New software should use the CSD progress values defined in csdprog.h williamr@2: * williamr@2: * \n williamr@2: * For a \b Dial \b Up \b Connection (outgoing call), the following stages are reported williamr@2: * in this order \n williamr@2: * (the meaning of each enumerator is defined in the enumeration values / member list, below): williamr@2: * -# EStartingSelection williamr@2: * -# EFinishedSelection williamr@2: * -# EStartingDialling williamr@2: * -# EFinishedDialling williamr@2: * -# EScanningScript williamr@2: * -# EScannedScript williamr@2: * -# EGettingLoginInfo williamr@2: * -# EGotLoginInfo williamr@2: * -# EStartingLogIn williamr@2: * -# EFinishedLogIn williamr@2: * -# EConnectionOpen williamr@2: * -# EStartingHangUp williamr@2: * -# EFinishedHangUp williamr@2: * williamr@2: * For a \b Dial \b In \b Connection (incoming call), the following stages are williamr@2: * reported in this order: williamr@2: * -# EStartingAnswer williamr@2: * -# EAnswered williamr@2: * -# EConnectionOpen williamr@2: * -# EStartingHangUp williamr@2: * -# EFinishedHangUp williamr@2: * williamr@2: * For a \b Direct \b Connection, the following stages are reported in this order: williamr@2: * -# EStartingSelection williamr@2: * -# EFinishedSelection williamr@2: * -# EScanningScript williamr@2: * -# EScannedScript williamr@2: * -# EStartingConnect williamr@2: * -# EFinishedConnect williamr@2: * -# EConnectionOpen williamr@2: * -# EStartingHangUp williamr@2: * -# EFinishedHangUp williamr@2: */ williamr@2: williamr@2: enum TNetDialProgress williamr@2: { williamr@2: /** Start selection of service and location. */ williamr@2: EStartingSelection=2, williamr@2: /** Selection of service and location is complete. */ williamr@2: EFinishedSelection, williamr@2: /** Starting the dialling phase. */ williamr@2: EStartingDialling, williamr@2: /** Dialling phase complete. */ williamr@2: EFinishedDialling, williamr@2: /** Start scanning the script. */ williamr@2: EScanningScript, williamr@2: /** Scanning the script is complete. */ williamr@2: EScannedScript, williamr@2: /** Get login information from database or user */ williamr@2: EGettingLoginInfo, williamr@2: /** The fetching of login information is complete. */ williamr@2: EGotLoginInfo, williamr@2: /** Start the connection process; executes the script, if there is one */ williamr@2: EStartingConnect, // 10 williamr@2: /** Connection process is complete */ williamr@2: EFinishedConnect, williamr@2: /** Start the login process; executes the script, if there is one. */ williamr@2: EStartingLogIn, williamr@2: /** Login process is complete */ williamr@2: EFinishedLogIn, williamr@2: /** The connection is now open */ williamr@2: EConnectionOpen, williamr@2: /** Starting the hang-up process */ williamr@2: EStartingHangUp, williamr@2: /** Hang up process is complete */ williamr@2: EFinishedHangUp, williamr@2: /** Start the answering phase. */ williamr@2: EStartingAnswer, williamr@2: /** Answering is complete */ williamr@2: EAnswered, // 18 williamr@2: /** Error setting overrides (note that this is reported only if an williamr@2: * error occurs, in which case it will be the first stage of the connection). */ williamr@2: ESettingOverrides williamr@2: }; williamr@2: williamr@2: williamr@2: williamr@2: #endif