8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 01:23:03 +01:00
firebird-mirror/src/qli/noform.cpp

230 lines
4.2 KiB
C++

/*
* PROGRAM: JRD Command Oriented Query Language
* MODULE: form.c
* DESCRIPTION: Form interface
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
#ifdef PYXIS
#include "firebird.h"
#include "../qli/dtr.h"
#include "../qli/exe.h"
#include "../qli/form.h"
#include "../qli/form_proto.h"
FRM FORM_default_form(DBB database, TEXT * string)
{
/**************************************
*
* F O R M _ d e f a u l t _ f o r m
*
**************************************
*
* Functional description
* Generate a default for for a relation.
*
**************************************/
return NULL;
}
void FORM_display( QLI_NOD node)
{
/**************************************
*
* F O R M _ d i s p l a y
*
**************************************
*
* Functional description
* Given a FORM_FOR node, display an empty form.
*
**************************************/
}
void FORM_edit( DBB database, TEXT * name)
{
/**************************************
*
* F O R M _ e d i t
*
**************************************
*
* Functional description
* Edit a form.
*
**************************************/
}
void FORM_fini(void)
{
/**************************************
*
* F O R M _ f i n i
*
**************************************
*
* Functional description
* Shut down forms interface.
*
**************************************/
}
void FORM_finish( DBB database)
{
/**************************************
*
* F O R M _ f i n i s h
*
**************************************
*
* Functional description
* Release forms in preparation for finishing a relation.
*
**************************************/
}
int FORM_get_blob( QLI_NOD value, PAR parameter)
{
/**************************************
*
* F O R M _ g e t _ b l o b
*
**************************************
*
* Functional description
* Copy blob from form to database.
*
**************************************/
return TRUE;
}
DSC *FORM_get_field(QLI_NOD node)
{
/**************************************
*
* F O R M _ g e t _ f i e l d
*
**************************************
*
* Functional description
* Get a value off a form.
*
**************************************/
return NULL;
}
FRM FORM_lookup_form(DBB database, TEXT * string)
{
/**************************************
*
* F O R M _ l o o k u p _ f o r m
*
**************************************
*
* Functional description
* Lookup a form by name.
*
**************************************/
return NULL;
}
FFL FORM_lookup_field(FRM form, TEXT * string)
{
/**************************************
*
* F O R M _ l o o k u p _ f i e l d
*
**************************************
*
* Functional description
* Lookup field name in form. If we can't find it, return NULL.
*
**************************************/
return NULL;
}
int FORM_put_field( QLI_NOD from, QLI_NOD node)
{
/**************************************
*
* F O R M _ p u t _ f i e l d
*
**************************************
*
* Functional description
* Write data to a form.
*
**************************************/
return TRUE;
}
void FORM_reset(void)
{
/**************************************
*
* F O R M _ r e s e t
*
**************************************
*
* Functional description
* Reset after execution of a request involving forms.
*
**************************************/
}
void FORM_update( QLI_NOD node)
{
/**************************************
*
* F O R M _ u p d a t e
*
**************************************
*
* Functional description
* Execute "form update".
*
**************************************/
}
#endif