creator/engine/inc/creator_landmarkelement.h
branchRCL_3
changeset 20 fad26422216a
parent 19 b3cee849fa46
child 21 f8280f3bfeb7
equal deleted inserted replaced
19:b3cee849fa46 20:fad26422216a
     1 /*
       
     2 * Copyright (c) 2010 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CREATORLANDMARKELEMENT_H_
       
    22 #define CREATORLANDMARKELEMENT_H_
       
    23 
       
    24 #include "creator_scriptelement.h"
       
    25 
       
    26 namespace creatorlandmark
       
    27 {
       
    28     _LIT(KLandmark, "landmark");
       
    29     _LIT(KName, "name");
       
    30     _LIT(KCategory, "category");
       
    31     _LIT(KDescription, "description");
       
    32     _LIT(KStreet, "street");
       
    33     _LIT(KPostalcode, "postalcode");
       
    34     _LIT(KCity, "city");
       
    35     _LIT(KState, "state");
       
    36     _LIT(KCountry, "country");
       
    37     _LIT(KPhonenumber, "phonenbr");
       
    38     _LIT(KUrl, "url");
       
    39     _LIT(KLatitude, "latitude");
       
    40     _LIT(KLongitude, "longitude");
       
    41     _LIT(KPositionaccuracy, "positionaccuracy");
       
    42     _LIT(KAltitude, "altitude");
       
    43     _LIT(KAltitudeaccuracy, "altitudeaccuracy");
       
    44 }
       
    45 
       
    46 class CCreatorLandmarkElement : public CCreatorScriptElement
       
    47 {
       
    48 public:
       
    49     static CCreatorLandmarkElement* NewL(CCreatorEngine* aEngine, const TDesC& aName, const TDesC& aContext = KNullDesC);
       
    50     void ExecuteCommandL();
       
    51     
       
    52 protected:
       
    53     CCreatorLandmarkElement(CCreatorEngine* aEngine);
       
    54 };
       
    55 
       
    56 #endif /*CREATORLANDMARKELEMENT_H_*/