webengine/wmlengine/src/xhtml/include/nw_basicforms_xhtmlformliaisoni.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2000 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 NW_XHTML_XHTMLFORMLIAISONI_H
       
    20 #define NW_XHTML_XHTMLFORMLIAISONI_H
       
    21 
       
    22 #include "nw_evt_ecmaevent.h"
       
    23 
       
    24 #include "nw_fbox_formliaisoni.h"
       
    25 #include "nw_object_dynamici.h"
       
    26 #include "nw_basicforms_xhtmlformliaison.h"
       
    27 #include "BrsrStatusCodes.h"
       
    28 
       
    29 #ifdef __cplusplus
       
    30 extern "C" {
       
    31 #endif /* __cplusplus */
       
    32   
       
    33 
       
    34 /* ------------------------------------------------------------------------- *
       
    35    virtual method implementation prototypes
       
    36  * ------------------------------------------------------------------------- */
       
    37 extern
       
    38 TBrowserStatusCode
       
    39 _NW_XHTML_FormLiaison_Construct (NW_Object_Dynamic_t* dynamicObject,
       
    40                                  va_list* argp);
       
    41 
       
    42 extern
       
    43 void
       
    44 _NW_XHTML_FormLiaison_Destruct (NW_Object_Dynamic_t* dynamicObject);
       
    45 
       
    46 extern
       
    47 TBrowserStatusCode
       
    48 _NW_XHTML_FormLiaison_GetWBXMLVersion(NW_FBox_FormLiaison_t*  thisObj,
       
    49                                       NW_Uint32*               wmlVersion);
       
    50 extern
       
    51 TBrowserStatusCode
       
    52 _NW_XHTML_FormLiaison_AddControl(NW_FBox_FormLiaison_t* thisObj,
       
    53                                  void* node);
       
    54 
       
    55 extern
       
    56 TBrowserStatusCode
       
    57 _NW_XHTML_FormLiaison_SetInitialStringValue(NW_FBox_FormLiaison_t* thisObj,
       
    58                                             void* node,
       
    59 																						NW_Text_Length_t	maxChars);
       
    60 
       
    61 extern
       
    62 TBrowserStatusCode
       
    63 _NW_XHTML_FormLiaison_SetStringValue(NW_FBox_FormLiaison_t* thisObj,
       
    64                                      void* node,
       
    65                                      NW_Text_t* value);
       
    66 
       
    67 extern
       
    68 TBrowserStatusCode
       
    69 _NW_XHTML_FormLiaison_ValidateStringValue(NW_FBox_FormLiaison_t* thisObj,
       
    70                                           void* node,
       
    71                                           const NW_Text_t* value);
       
    72 
       
    73 extern
       
    74 TBrowserStatusCode
       
    75 _NW_XHTML_FormLiaison_GetStringValue(NW_FBox_FormLiaison_t* thisObj,
       
    76                                      void* node,
       
    77                                      NW_Text_t** valueOut,
       
    78                                      NW_Bool*  initialValueUsed);
       
    79 
       
    80 extern
       
    81 TBrowserStatusCode
       
    82 _NW_XHTML_FormLiaison_GetStringName(NW_FBox_FormLiaison_t* thisObj,
       
    83                                     void* node,
       
    84                                     NW_Ucs2** nameOut);
       
    85 
       
    86 TBrowserStatusCode
       
    87 _NW_XHTML_FormLiaison_GetStringTitle(NW_FBox_FormLiaison_t* thisObj,
       
    88                                     void* node,
       
    89                                     NW_Ucs2** titleOut);
       
    90 
       
    91 extern
       
    92 TBrowserStatusCode
       
    93 _NW_XHTML_FormLiaison_SetBoolValue(NW_FBox_FormLiaison_t* thisObj,
       
    94                                    void* node,
       
    95                                    NW_Bool *value);
       
    96 
       
    97 extern
       
    98 TBrowserStatusCode
       
    99 _NW_XHTML_FormLiaison_ResetBoolValue( NW_FBox_FormLiaison_t* thisObj,
       
   100                                       void* node,
       
   101                                       NW_Bool *value );
       
   102 
       
   103 extern
       
   104 TBrowserStatusCode
       
   105 _NW_XHTML_FormLiaison_ToggleBoolValue(NW_FBox_FormLiaison_t* thisObj,
       
   106                                       void* node);
       
   107 
       
   108 extern
       
   109 TBrowserStatusCode
       
   110 _NW_XHTML_FormLiaison_GetBoolValue(NW_FBox_FormLiaison_t* thisObj,
       
   111                                    void* node,
       
   112                                    NW_Bool* valueOut);
       
   113 
       
   114 extern
       
   115 TBrowserStatusCode
       
   116 _NW_XHTML_FormLiaison_Reset(NW_FBox_FormLiaison_t* thisObj,
       
   117                             void* resetButtonNode);
       
   118 
       
   119 extern
       
   120 TBrowserStatusCode
       
   121 _NW_XHTML_FormLiaison_Submit(NW_FBox_FormLiaison_t* thisObj,
       
   122                              void* submitButtonNode);
       
   123 
       
   124 extern
       
   125 TBrowserStatusCode
       
   126 _NW_XHTML_FormLiaison_Focus( NW_FBox_FormLiaison_t* thisObj,
       
   127                              void* node );
       
   128 
       
   129 extern
       
   130 NW_Bool
       
   131 _NW_XHTML_FormLiaison_IsOptionMultiple(NW_FBox_FormLiaison_t* thisObj,
       
   132                                        void* controlId);
       
   133 
       
   134 extern
       
   135 NW_Bool
       
   136 _NW_XHTML_FormLiaison_IsOptionSelected(NW_FBox_FormLiaison_t* thisObj,
       
   137                                        void* controlId);
       
   138 
       
   139 extern
       
   140 NW_Bool
       
   141 _NW_XHTML_FormLiaison_OptionHasOnPick(NW_FBox_FormLiaison_t* thisObj,
       
   142                                       void* controlId);
       
   143 
       
   144 extern
       
   145 NW_Bool
       
   146 _NW_XHTML_FormLiaison_IsLocalNavOnPick(NW_FBox_FormLiaison_t* thisObj,
       
   147                                       void* elemID);
       
   148 extern
       
   149 NW_Bool
       
   150 _NW_XHTML_FormLiaison_GetInitialValue (NW_FBox_FormLiaison_t* formLiaison,
       
   151 																			 void* controlId);
       
   152 
       
   153 extern
       
   154 TBrowserStatusCode
       
   155 _NW_XHTML_FormLiaison_GetDocRoot(NW_FBox_FormLiaison_t  *thisObj,
       
   156                                     NW_HED_DocumentRoot_t **docRoot);
       
   157 extern
       
   158 TBrowserStatusCode
       
   159 _NW_XHTML_FormLiaison_DelegateEcmaEvent(NW_FBox_FormLiaison_t *thisObj,
       
   160                                         void* eventNode,
       
   161                                         NW_ECMA_Evt_Type_t ecmaEvent);
       
   162 
       
   163 #ifdef __cplusplus
       
   164 } // extern "C" {
       
   165 #endif /* __cplusplus */
       
   166 
       
   167 #endif /* NW_XHTML_XHTMLFORMLIAISONI_H */