webengine/wmlengine/src/wml/include/wml_deck.h
branchRCL_3
changeset 49 919f36ff910f
equal deleted inserted replaced
48:79859ed3eea9 49:919f36ff910f
       
     1 /*
       
     2 * Copyright (c) 1999 - 2001 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 the License "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 #ifndef WML_DECK_H
       
    19 #define WML_DECK_H
       
    20 
       
    21 #include "nwx_http_header.h"
       
    22 #include "nw_wml_var.h"
       
    23 #include "nw_nvpair.h"
       
    24 
       
    25 #include "nw_wml_defs.h"
       
    26 #include "nwx_buffer.h"
       
    27 
       
    28 #include "nw_hed_domtree.h"
       
    29 #include "nw_hed_domhelper.h"
       
    30 #include "BrsrStatusCodes.h"
       
    31 
       
    32 /* ------------------------------------------------------------------------- *
       
    33    public data types
       
    34  * ------------------------------------------------------------------------- */
       
    35 
       
    36 typedef struct NW_Wml_Deck_s NW_Wml_Deck_t;
       
    37 
       
    38 
       
    39 #ifdef __cplusplus
       
    40 extern "C" {
       
    41 #endif /* __cplusplus */
       
    42 /* ------------------------------------------------------------------------- *
       
    43    public methods
       
    44  * ------------------------------------------------------------------------- */
       
    45 
       
    46 NW_Wml_Deck_t* NW_Wml_Deck_New (NW_Buffer_t* domBuffer,
       
    47                                NW_Http_CharSet_t charset,
       
    48                                NW_Bool contentWasPlainText);
       
    49 
       
    50 void NW_Wml_Deck_Delete (NW_Wml_Deck_t* thisObj);
       
    51 
       
    52 NW_HED_DomTree_t* NW_Wml_Deck_GetDomTree (const NW_Wml_Deck_t* thisObj);
       
    53 
       
    54 NW_HED_DomHelper_t* NW_Wml_Deck_GetDomHelper (NW_Wml_Deck_t* thisObj,
       
    55                                               const NW_Wml_VarList_t* varList);
       
    56 
       
    57 NW_DOM_Node_t* NW_Wml_Deck_GetCurrentCard (const NW_Wml_Deck_t* thisObj);
       
    58 
       
    59 NW_DOM_Node_t* NW_Wml_Deck_GetCardByName (NW_Wml_Deck_t* thisObj, 
       
    60                                           const NW_String_t* cardName);
       
    61 
       
    62 TBrowserStatusCode NW_Wml_Deck_SetCurrentCardByName (NW_Wml_Deck_t* thisObj, 
       
    63                                               const NW_String_t* cardName);
       
    64 
       
    65 void NW_Wml_Deck_SetCurrentCardByElement (NW_Wml_Deck_t* thisObj, 
       
    66                                           const NW_DOM_Node_t* element);
       
    67 
       
    68 
       
    69 #ifdef __cplusplus
       
    70 } // extern "C" {
       
    71 #endif /* __cplusplus */
       
    72 
       
    73 #endif /* WML_DECK_H */