65 lines
1.8 KiB
C
65 lines
1.8 KiB
C
|
/***************************************************************************
|
||
|
|
||
|
main.h
|
||
|
|
||
|
(c) Daniel Campos Fernández <dcamposf@gmail.com>
|
||
|
(c) Benoît Minisini <g4mba5@gmail.com>
|
||
|
|
||
|
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 __MAIN_H
|
||
|
#define __MAIN_H
|
||
|
|
||
|
#include "gambas.h"
|
||
|
#include "gb.image.h"
|
||
|
#include "gb.geom.h"
|
||
|
#include "gb.gtk.h"
|
||
|
#include "gb.gtk.platform.h"
|
||
|
#include "widgets.h"
|
||
|
#include "CWidget.h"
|
||
|
|
||
|
#ifndef __MAIN_C
|
||
|
extern const GB_INTERFACE *GB_PTR;
|
||
|
extern IMAGE_INTERFACE IMAGE;
|
||
|
extern GEOM_INTERFACE GEOM;
|
||
|
extern GTK_PLATFORM_INTERFACE PLATFORM;
|
||
|
|
||
|
extern GB_CLASS CLASS_Control;
|
||
|
extern GB_CLASS CLASS_ContainerChildren;
|
||
|
extern GB_CLASS CLASS_Picture;
|
||
|
extern GB_CLASS CLASS_Image;
|
||
|
extern GB_CLASS CLASS_DrawingArea;
|
||
|
extern GB_CLASS CLASS_Menu;
|
||
|
extern GB_CLASS CLASS_Window;
|
||
|
extern GB_CLASS CLASS_Printer;
|
||
|
extern GB_CLASS CLASS_SvgImage;
|
||
|
|
||
|
extern bool MAIN_debug_busy;
|
||
|
extern bool MAIN_rtl;
|
||
|
extern const char *MAIN_platform;
|
||
|
#endif
|
||
|
|
||
|
#define GB (*GB_PTR)
|
||
|
|
||
|
void MAIN_do_iteration(bool do_not_block);
|
||
|
void MAIN_do_iteration_just_events();
|
||
|
void MAIN_check_quit();
|
||
|
|
||
|
#endif
|
||
|
|