creator/engine/inc/creator_browserelement.h
branchRCL_3
changeset 21 b3cee849fa46
equal deleted inserted replaced
20:48060abbbeaf 21:b3cee849fa46
       
     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 CREATORBROWSERELEMENT_H_
       
    22 #define CREATORBROWSERELEMENT_H_
       
    23 
       
    24 #include "creator_scriptelement.h"
       
    25 
       
    26 namespace creatorbrowser
       
    27 {
       
    28 _LIT(KBookmark, "bookmark");
       
    29 _LIT(KBookmarkFolder, "bookmarkfolder");
       
    30 _LIT(KSavedPage, "savedpage");
       
    31 _LIT(KSavedPageFolder, "savedpagefolder");
       
    32 
       
    33 _LIT(KName, "name");
       
    34 _LIT(KPath, "path");
       
    35 _LIT(KUsername, "username");
       
    36 _LIT(KPassword, "password");
       
    37 _LIT(KUrl, "url");
       
    38 }
       
    39 
       
    40 class CCreatorBrowserElement : public CCreatorScriptElement
       
    41 {
       
    42 public:
       
    43     static CCreatorBrowserElement* NewL(CCreatorEngine* aEngine, const TDesC& aName, const TDesC& aContext = KNullDesC);
       
    44     void ExecuteCommandL();
       
    45     
       
    46 protected:
       
    47     CCreatorBrowserElement(CCreatorEngine* aEngine);    
       
    48     TInt GetBrowserCommandL() const;
       
    49 };
       
    50 #endif /*CREATORBROWSERELEMENT_H_*/