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