gambas-source-code/main/gbc/gbc_form.h
Benoît Minisini 0a9b6abe82 [DEVELOPMENT ENVIRONMENT]
* NEW: More support for WebPage.

[COMPILER]
* NEW: Start supporting WebPage.


git-svn-id: svn://localhost/gambas/trunk@4427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 09:55:55 +00:00

52 lines
1.3 KiB
C

/***************************************************************************
gbc_form.h
(c) 2000-2012 Benoît Minisini <gambas@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
***************************************************************************/
#ifndef __GBC_FORM_H
#define __GBC_FORM_H
enum {
FORM_NORMAL = 0,
FORM_WEBPAGE = 1
};
typedef
struct {
char *ext;
int type;
}
FORM_FAMILY;
typedef
struct {
char *name;
int len;
}
FORM_PARENT;
#define FORM_FIRST_LINE 100000
#define FORM_FIRST_LINE_STRING "100000"
void FORM_do(bool ctrl_public);
char *FORM_get_file_family(const char *file, const FORM_FAMILY **family);
#endif