convergedcallengine/csplugin/inc/tcspskypeidparser.h
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Parses Skype id from UUI message.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TCSPSKYPEIDPARSER_H
       
    20 #define TCSPSKYPEIDPARSER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /**
       
    25  *  Skype id parser.
       
    26  *
       
    27  *  @lib phoneengine.lib
       
    28  *  @since S60 v3.2
       
    29  */
       
    30 class TCSPSkypeIdParser 
       
    31     {
       
    32 public:
       
    33 
       
    34     TCSPSkypeIdParser();
       
    35     
       
    36     /**
       
    37      * Creates right size buffer to be used with parse method.
       
    38      * 
       
    39      * @since S60 v3.2
       
    40      * @return Buffer. Ownership given to caller.
       
    41      */
       
    42     static HBufC* CreateSkypeIdBufferL();
       
    43     
       
    44 
       
    45     /**
       
    46      * Parses Skype if from UUI message.
       
    47      *
       
    48      * @since S60 v3.2
       
    49      * @param aUUIMessage Message.
       
    50      * @param aSkypeId Parser skype id is appended here.
       
    51      * @return Error code. KErrNotSupported if data is not understood by
       
    52      * parser.
       
    53      */
       
    54     TInt Parse( const TDesC& aUUIMessage, TDes& aSkypeId );
       
    55     
       
    56 
       
    57 private: // data
       
    58 
       
    59     };
       
    60 
       
    61 #endif // CSPSKYPEIDPARSER_H