webengine/wmlengine/src/xhtml/include/nw_basicforms_inputelementhandler.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2000 - 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 NW_XHTML_BASICFORMS_INPUTELEMENTHANDLER_H
       
    20 #define NW_XHTML_BASICFORMS_INPUTELEMENTHANDLER_H
       
    21 
       
    22 #include "nw_xhtml_elementhandler.h"
       
    23 #include "nw_fbox_inputbox.h"
       
    24 
       
    25 
       
    26 #ifdef __cplusplus
       
    27 extern "C" {
       
    28 #endif /* __cplusplus */
       
    29   
       
    30 
       
    31 /* GENERATED */
       
    32 
       
    33 /* ------------------------------------------------------------------------- *
       
    34    forward declarations
       
    35  * ------------------------------------------------------------------------- */
       
    36 typedef struct NW_XHTML_inputElementHandler_Class_s NW_XHTML_inputElementHandler_Class_t;
       
    37 typedef struct NW_XHTML_inputElementHandler_s NW_XHTML_inputElementHandler_t;
       
    38 
       
    39 /* ------------------------------------------------------------------------- *
       
    40    class definition
       
    41  * ------------------------------------------------------------------------- */
       
    42 typedef struct NW_XHTML_inputElementHandler_ClassPart_s {
       
    43   void** unused;
       
    44 } NW_XHTML_inputElementHandler_ClassPart_t;
       
    45 
       
    46 struct NW_XHTML_inputElementHandler_Class_s {
       
    47   NW_Object_Core_ClassPart_t NW_Object_Core;
       
    48   NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler;
       
    49   NW_XHTML_inputElementHandler_ClassPart_t NW_XHTML_inputElementHandler;
       
    50 };
       
    51 
       
    52 /* ------------------------------------------------------------------------- *
       
    53    object definiton
       
    54  * ------------------------------------------------------------------------- */
       
    55 struct NW_XHTML_inputElementHandler_s {
       
    56   NW_XHTML_ElementHandler_t super;
       
    57 };
       
    58 
       
    59 /* ------------------------------------------------------------------------- *
       
    60    convenience macros
       
    61  * ------------------------------------------------------------------------- */
       
    62 #define NW_XHTML_inputElementHandler_ClassPartOf(_object) \
       
    63   (((NW_XHTML_inputElementHandler_Class_t*) NW_Object_ClassOf(_object))->\
       
    64    NW_XHTML_inputElementHandler)
       
    65 
       
    66 #define NW_XHTML_inputElementHandlerOf(_object) \
       
    67   ((NW_XHTML_inputElementHandler_t*) (_object))
       
    68 
       
    69 /* ------------------------------------------------------------------------- *
       
    70    global static data
       
    71  * ------------------------------------------------------------------------- */
       
    72 extern const NW_XHTML_inputElementHandler_Class_t NW_XHTML_inputElementHandler_Class;
       
    73 extern const NW_XHTML_inputElementHandler_t NW_XHTML_inputElementHandler;
       
    74 
       
    75 TBrowserStatusCode
       
    76 NW_XHTML_inputElementHandler_HandleValidation (NW_FBox_InputBox_t* box,
       
    77                                                NW_FBox_FormLiaison_t* formLiaison);
       
    78 
       
    79 #ifdef __cplusplus
       
    80 } // extern "C" {
       
    81 #endif /* __cplusplus */
       
    82 
       
    83 #endif /* NW_XHTML_BASICFORMS_INPUTELEMENTHANDLER_H */