diff -r f742655b05bf -r d38647835c2e callcontinuity/vccutils/inc/vccmiscutils.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/callcontinuity/vccutils/inc/vccmiscutils.h Wed Sep 01 12:29:57 2010 +0100 @@ -0,0 +1,58 @@ +/* +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Miscallaneous service functions +* +*/ + + + +#ifndef T_VCCMISCUTILS_H +#define T_VCCMISCUTILS_H + +#include +#include + +/** + * T class for miscallenous service functions + * + * @lib vccutils.dll + * @since S60 v3.2 + */ +class TVCCMiscUtils + { +public: + + /** + * Check if reference is valid URI + * + * @since S60 v3.2 + * @param aURI reference to a 16 bit value checked if valid URI + * @return KErrNone if the descriptor has been parsed into uri components. + * EUriUtilsParserErrInvalidUri if the descriptor is an invalid uri. + */ + IMPORT_C static TInt URIValidL( const TDesC16& aURI ); + + /** + * Check if reference is valid VDN + * + * @since S60 v3.2 + * @param aVDN reference to a 16 bit value checked if valid VDN + * @return ETrue if the descriptor is a valid VDN. + * EFalse if the descriptor is an invalid VDN. + */ + IMPORT_C static TBool VDNValidL( const TDesC16& aVDN ); + + }; + +#endif /* T_VCCMISCUTILS_H */