browsercore/appfw/Common/wrttypes.h
branchGCC_SURGE
changeset 8 2e16851ffecd
parent 2 bf4420e9fa4d
parent 6 1c3b8676e58c
equal deleted inserted replaced
2:bf4420e9fa4d 8:2e16851ffecd
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef __WRTTYPES_H__
       
    20 #define __WRTTYPES_H__
       
    21 
       
    22 namespace WRT {
       
    23 
       
    24     /*!
       
    25       This id specifies a WRT view id
       
    26     */
       
    27     enum WrtViewId {
       
    28         ContentViewId = 0, //!< The ContentView (i.e., web pages)
       
    29         HistoryViewId,     //!< The history of visited pages
       
    30         ThumbnailViewId,   //!< A miniature, navigable view of the current page
       
    31         BookmarksViewId,   //!< A view to manage bookmarks
       
    32         ShowImagesViewId,  //!< A view that lists images available on the current page
       
    33         NullViewId //!< Dummy View Id, This must be the last ID, the array of view handlers depends on it
       
    34     };
       
    35 
       
    36     /*!
       
    37       This is a bitmask describing what the view can or cannot do
       
    38     */
       
    39     enum ViewCapabilities {
       
    40         ViewCanCancel = 1, //!< The view can be cancelled
       
    41         ViewCanClose = 2 //!< The view can be closed
       
    42     };
       
    43 
       
    44 }
       
    45 #endif