creator/inc/creator_landmarkelement.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:30:35 +0100
branchRCL_3
changeset 20 fad26422216a
parent 0 d6fe6244b863
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 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:  
*
*/



#ifndef CREATORLANDMARKELEMENT_H_
#define CREATORLANDMARKELEMENT_H_

#include "creator_scriptelement.h"

namespace creatorlandmark
{
    _LIT(KLandmark, "landmark");
    _LIT(KName, "name");
    _LIT(KCategory, "category");
    _LIT(KDescription, "description");
    _LIT(KStreet, "street");
    _LIT(KPostalcode, "postalcode");
    _LIT(KCity, "city");
    _LIT(KState, "state");
    _LIT(KCountry, "country");
    _LIT(KPhonenumber, "phonenbr");
    _LIT(KUrl, "url");
    _LIT(KLatitude, "latitude");
    _LIT(KLongitude, "longitude");
    _LIT(KPositionaccuracy, "positionaccuracy");
    _LIT(KAltitude, "altitude");
    _LIT(KAltitudeaccuracy, "altitudeaccuracy");
}

class CCreatorLandmarkElement : public CCreatorScriptElement
{
public:
    static CCreatorLandmarkElement* NewL(CCreatorEngine* aEngine, const TDesC& aName, const TDesC& aContext = KNullDesC);
    void ExecuteCommandL();
    
protected:
    CCreatorLandmarkElement(CCreatorEngine* aEngine);
};

#endif /*CREATORLANDMARKELEMENT_H_*/