meetingrequest/mrurlparserplugin/inc/mesmrurlparserplugin.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #define MESMRURLPARSERPLUGIN_H
    20 #define MESMRURLPARSERPLUGIN_H
    21 
    21 
    22 
    22 
    23 
    23 
    24 class CPosLandmark;
    24 class CPosLandmark;
       
    25 class CCalGeoValue;
    25 
    26 
    26 /**
    27 /**
    27  *  MESMRUrlParserPlugin defines the interface for Location URL Parser
    28  *  MESMRUrlParserPlugin defines the interface for Location URL Parser
    28  *
    29  *
    29  */
    30  */
    45      *
    46      *
    46      * @param aLandmark contains landmark object that is parsed to location URL
    47      * @param aLandmark contains landmark object that is parsed to location URL
    47      * @return pointer to created location URL
    48      * @return pointer to created location URL
    48      */
    49      */
    49     virtual HBufC* CreateUrlFromLandmarkL( const CPosLandmark& aLandmark ) = 0;
    50     virtual HBufC* CreateUrlFromLandmarkL( const CPosLandmark& aLandmark ) = 0;
    50     
    51 
    51     /**
    52     /**
    52      * Creates landmark object from location URL
    53      * Creates landmark object from location URL
    53      *
    54      *
    54      * @param aUrl contains location URL from which landmark is created
    55      * @param aUrl contains location URL from which landmark is created
    55      * @return pointer to created landmark object
    56      * @return pointer to created landmark object
    56      */
    57      */
    57     virtual CPosLandmark* CreateLandmarkFromUrlL( const TDesC& aUrl ) = 0;    
    58     virtual CPosLandmark* CreateLandmarkFromUrlL( const TDesC& aUrl ) = 0;
       
    59 
       
    60     /**
       
    61      * Converts valid location URL to vCal GEO value.
       
    62      * May leave with KErrNotFound/KErrArgument or other Symbian wide errorcode
       
    63      *
       
    64      * @param aUrl location URL to convert
       
    65      * @return new GEO value
       
    66      */
       
    67     virtual CCalGeoValue* CreateGeoValueLC( const TDesC& aUrl ) = 0;
    58 
    68 
    59 protected:
    69 protected:
    60     
    70 
    61    /**
    71    /**
    62     * Destructor.
    72     * Destructor.
    63     */
    73     */
    64     virtual ~MESMRUrlParserPlugin(){}
    74     virtual ~MESMRUrlParserPlugin(){}
    65     };
    75     };