Commit 3c518c24aa0d40f047e9adedf50899680219e43c
1 parent
d95ed4b5
Exists in
master
and in
4 other branches
Adding missing include.
Showing
1 changed file
with
66 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,66 @@ | @@ -0,0 +1,66 @@ | ||
| 1 | +/* | ||
| 2 | + * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 | ||
| 3 | + * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a | ||
| 4 | + * aplicativos mainframe. Registro no INPI sob o nome G3270. | ||
| 5 | + * | ||
| 6 | + * Copyright (C) <2008> <Banco do Brasil S.A.> | ||
| 7 | + * | ||
| 8 | + * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob | ||
| 9 | + * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela | ||
| 10 | + * Free Software Foundation. | ||
| 11 | + * | ||
| 12 | + * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER | ||
| 13 | + * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO | ||
| 14 | + * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para | ||
| 15 | + * obter mais detalhes. | ||
| 16 | + * | ||
| 17 | + * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este | ||
| 18 | + * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin | ||
| 19 | + * St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 20 | + * | ||
| 21 | + * Este programa está nomeado como - e possui - linhas de código. | ||
| 22 | + * | ||
| 23 | + * Contatos: | ||
| 24 | + * | ||
| 25 | + * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) | ||
| 26 | + * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça) | ||
| 27 | + * | ||
| 28 | + */ | ||
| 29 | + | ||
| 30 | +/** | ||
| 31 | + * @brief Declares the pw3270 terminal window. | ||
| 32 | + * | ||
| 33 | + */ | ||
| 34 | + | ||
| 35 | +#ifndef PW3270_TERMINAL_H_INCLUDED | ||
| 36 | + | ||
| 37 | + #define PW3270_TERMINAL_H_INCLUDED | ||
| 38 | + | ||
| 39 | + #include <gtk/gtk.h> | ||
| 40 | + #include <v3270.h> | ||
| 41 | + | ||
| 42 | + G_BEGIN_DECLS | ||
| 43 | + | ||
| 44 | + #define PW3270_TYPE_TERMINAL (pw3270Terminal_get_type ()) | ||
| 45 | + #define PW3270_TERMINAL(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ | ||
| 46 | + PW3270_TYPE_TERMINAL, pw3270Terminal)) | ||
| 47 | + #define PW3270_TERMINAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \ | ||
| 48 | + PW3270_TYPE_TERMINAL, pw3270TerminalClass)) | ||
| 49 | + #define PW3270_IS_TERMINAL(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ | ||
| 50 | + PW3270_TYPE_TERMINAL)) | ||
| 51 | + #define PW3270_IS_TERMINAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \ | ||
| 52 | + PW3270_TYPE_TERMINAL)) | ||
| 53 | + #define PW3270_TERMINAL_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ | ||
| 54 | + GTK_TYPE_APPLICATION_WINDOW, pw3270TerminalClass)) | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + typedef struct _pw3270TerminalClass pw3270TerminalClass; | ||
| 58 | + typedef struct _pw3270Terminal pw3270Terminal; | ||
| 59 | + | ||
| 60 | + GType pw3270Terminal_get_type(); | ||
| 61 | + GtkWidget * pw3270_terminal_new(); | ||
| 62 | + | ||
| 63 | + G_END_DECLS | ||
| 64 | + | ||
| 65 | + | ||
| 66 | +#endif // PW3270_TERMINAL_H_INCLUDED |