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