convergedcallengine/csplugin/inc/tcspskypeidparser.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:15:03 +0100
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2007 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:  Parses Skype id from UUI message.
*
*/


#ifndef TCSPSKYPEIDPARSER_H
#define TCSPSKYPEIDPARSER_H

#include <e32std.h>

/**
 *  Skype id parser.
 *
 *  @lib phoneengine.lib
 *  @since S60 v3.2
 */
class TCSPSkypeIdParser 
    {
public:

    TCSPSkypeIdParser();
    
    /**
     * Creates right size buffer to be used with parse method.
     * 
     * @since S60 v3.2
     * @return Buffer. Ownership given to caller.
     */
    static HBufC* CreateSkypeIdBufferL();
    

    /**
     * Parses Skype if from UUI message.
     *
     * @since S60 v3.2
     * @param aUUIMessage Message.
     * @param aSkypeId Parser skype id is appended here.
     * @return Error code. KErrNotSupported if data is not understood by
     * parser.
     */
    TInt Parse( const TDesC& aUUIMessage, TDes& aSkypeId );
    

private: // data

    };

#endif // CSPSKYPEIDPARSER_H