epoc32/include/nd_err.h
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/nd_err.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,63 @@
     1.4 +/**
     1.5 +* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* 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
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +* Netdial external errors and error strings
    1.19 +* 
    1.20 +*
    1.21 +*/
    1.22 +
    1.23 +
    1.24 +
    1.25 +
    1.26 +
    1.27 +/**
    1.28 + @file ND_ERR.H
    1.29 + @internalComponent
    1.30 +*/
    1.31 +
    1.32 +#ifndef __ND_ERR_H__
    1.33 +#define __ND_ERR_H__
    1.34 +
    1.35 +#include <e32def.h>
    1.36 +
    1.37 +const TInt KNetdialErrorBase=-3000;
    1.38 +
    1.39 +// netdial script errors
    1.40 +//
    1.41 +const TInt KErrExitNoModem=KNetdialErrorBase-1;				///< Exit Condition - No Modem Response
    1.42 +const TInt KErrExitModemError=KNetdialErrorBase-2;			///< Exit Condition - Modem error
    1.43 +const TInt KErrExitLoginFail=KNetdialErrorBase-3;			///< Exit Condition - Login Failure
    1.44 +const TInt KErrExitScriptTimeOut=KNetdialErrorBase-4;		///< Exit Condition - Script Timed Out
    1.45 +const TInt KErrExitScriptError=KNetdialErrorBase-5;			///< Exit Condition - Script Error
    1.46 +
    1.47 +// netdial database error
    1.48 +//
    1.49 +const TInt KErrNetDialDatabaseDefaultUndefined=KNetdialErrorBase-6;
    1.50 +const TInt KErrNetDialDatabaseTypeUnknown=KNetdialErrorBase-7;
    1.51 +const TInt KErrNetDialDatabaseNotFound=KNetdialErrorBase-8;
    1.52 +const TInt KErrNetDialHscsdNotSupported=KNetdialErrorBase-9;
    1.53 +
    1.54 +// error strings for script
    1.55 +//
    1.56 +#define KErrExitScriptTimeOutString		_S("KErrTimeOut$")
    1.57 +#define KErrExitLoginFailString			_S("KErrLoginFail$")
    1.58 +#define	KErrExitNoModemString			_S("KErrNoModem$")	
    1.59 +#define KErrExitModemErrorString		_S("KErrModemError$")
    1.60 +#define KErrExitNoAnswerString			_S("KErrNoAnswer$")
    1.61 +#define KErrExitNoCarrierString			_S("KErrNoCarrier$")
    1.62 +#define KErrExitNoDialToneString		_S("KErrNoDialTone$")
    1.63 +#define KErrExitBusyString				_S("KErrBusy$")
    1.64 +#define KErrExitModemInitErrorString	_S("KErrModemInitError$")
    1.65 +
    1.66 +#endif