webengine/wmlengine/src/xhtml/include/nw_basicforms_inputelementhandler.h
author Kiiskinen Klaus (Nokia-D-MSW/Tampere) <klaus.kiiskinen@nokia.com>
Mon, 30 Mar 2009 12:54:55 +0300
changeset 0 dd21522fd290
permissions -rw-r--r--
Revision: 200911 Kit: 200912

/*
* Copyright (c) 2000 - 2001 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/


#ifndef NW_XHTML_BASICFORMS_INPUTELEMENTHANDLER_H
#define NW_XHTML_BASICFORMS_INPUTELEMENTHANDLER_H

#include "nw_xhtml_elementhandler.h"
#include "nw_fbox_inputbox.h"


#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
  

/* GENERATED */

/* ------------------------------------------------------------------------- *
   forward declarations
 * ------------------------------------------------------------------------- */
typedef struct NW_XHTML_inputElementHandler_Class_s NW_XHTML_inputElementHandler_Class_t;
typedef struct NW_XHTML_inputElementHandler_s NW_XHTML_inputElementHandler_t;

/* ------------------------------------------------------------------------- *
   class definition
 * ------------------------------------------------------------------------- */
typedef struct NW_XHTML_inputElementHandler_ClassPart_s {
  void** unused;
} NW_XHTML_inputElementHandler_ClassPart_t;

struct NW_XHTML_inputElementHandler_Class_s {
  NW_Object_Core_ClassPart_t NW_Object_Core;
  NW_XHTML_ElementHandler_ClassPart_t NW_XHTML_ElementHandler;
  NW_XHTML_inputElementHandler_ClassPart_t NW_XHTML_inputElementHandler;
};

/* ------------------------------------------------------------------------- *
   object definiton
 * ------------------------------------------------------------------------- */
struct NW_XHTML_inputElementHandler_s {
  NW_XHTML_ElementHandler_t super;
};

/* ------------------------------------------------------------------------- *
   convenience macros
 * ------------------------------------------------------------------------- */
#define NW_XHTML_inputElementHandler_ClassPartOf(_object) \
  (((NW_XHTML_inputElementHandler_Class_t*) NW_Object_ClassOf(_object))->\
   NW_XHTML_inputElementHandler)

#define NW_XHTML_inputElementHandlerOf(_object) \
  ((NW_XHTML_inputElementHandler_t*) (_object))

/* ------------------------------------------------------------------------- *
   global static data
 * ------------------------------------------------------------------------- */
extern const NW_XHTML_inputElementHandler_Class_t NW_XHTML_inputElementHandler_Class;
extern const NW_XHTML_inputElementHandler_t NW_XHTML_inputElementHandler;

TBrowserStatusCode
NW_XHTML_inputElementHandler_HandleValidation (NW_FBox_InputBox_t* box,
                                               NW_FBox_FormLiaison_t* formLiaison);

#ifdef __cplusplus
} // extern "C" {
#endif /* __cplusplus */

#endif /* NW_XHTML_BASICFORMS_INPUTELEMENTHANDLER_H */