Commit 19751b8c27d7107fba0abbd74b83d3907fed37ee
1 parent
ea28e89d
Exists in
master
and in
4 other branches
Removing menu object.
Showing
3 changed files
with
0 additions
and
168 deletions
Show diff stats
src/include/pw3270/menu.h
... | ... | @@ -1,57 +0,0 @@ |
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 Menu Objects. | |
32 | - * | |
33 | - */ | |
34 | - | |
35 | -#ifndef PW3270_MENU_H_INCLUDED | |
36 | - | |
37 | - #define PW3270_MENU_H_INCLUDED | |
38 | - | |
39 | - #include <gtk/gtk.h> | |
40 | - | |
41 | - G_BEGIN_DECLS | |
42 | - | |
43 | - #define PW3270_TYPE_MENU_MODEL (pw3270MenuModel_get_type()) | |
44 | - #define PW3270_MENU_MODEL(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), PW3270_TYPE_MENU_MODEL, pw3270MenuModel)) | |
45 | - #define PW3270_MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PW3270_TYPE_MENU_MODEL, pw3270MenuModelClass)) | |
46 | - #define PW3270_IS_MENU_MODEL(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), PW3270_TYPE_MENU_MODEL)) | |
47 | - #define PW3270_IS_MENU_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PW3270_TYPE_MENU_MODEL)) | |
48 | - #define PW3270_MENU_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PW3270_TYPE_MENU_MODEL, pw3270MenuModelClass)) | |
49 | - | |
50 | - typedef struct _pw3270MenuModel pw3270MenuModel; | |
51 | - typedef struct _pw3270MenuModelClass pw3270MenuModelClass; | |
52 | - | |
53 | - GMenuModel * pw3270_menu_model_new(void); | |
54 | - | |
55 | - G_END_DECLS | |
56 | - | |
57 | -#endif // PW3270_MENU_H_INCLUDED |
src/objects/menu/menu.cbp
... | ... | @@ -1,53 +0,0 @@ |
1 | -<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
2 | -<CodeBlocks_project_file> | |
3 | - <FileVersion major="1" minor="6" /> | |
4 | - <Project> | |
5 | - <Option title="PW3270 Menu Objects" /> | |
6 | - <Option pch_mode="2" /> | |
7 | - <Option compiler="gcc" /> | |
8 | - <Build> | |
9 | - <Target title="Debug"> | |
10 | - <Option output=".bin/Debug/PW3270 Menu Objects" prefix_auto="1" extension_auto="1" /> | |
11 | - <Option object_output=".obj/Debug/" /> | |
12 | - <Option type="1" /> | |
13 | - <Option compiler="gcc" /> | |
14 | - <Compiler> | |
15 | - <Add option="-g" /> | |
16 | - <Add option="-DDEBUG=1" /> | |
17 | - </Compiler> | |
18 | - </Target> | |
19 | - <Target title="Release"> | |
20 | - <Option output=".bin/Release/PW3270 Menu Objects" prefix_auto="1" extension_auto="1" /> | |
21 | - <Option object_output=".obj/Release/" /> | |
22 | - <Option type="1" /> | |
23 | - <Option compiler="gcc" /> | |
24 | - <Compiler> | |
25 | - <Add option="-O2" /> | |
26 | - <Add option="-DNDEBUG=1" /> | |
27 | - </Compiler> | |
28 | - <Linker> | |
29 | - <Add option="-s" /> | |
30 | - </Linker> | |
31 | - </Target> | |
32 | - </Build> | |
33 | - <Compiler> | |
34 | - <Add option="-Wall" /> | |
35 | - <Add option="`pkg-config --cflags gtk+-3.0`" /> | |
36 | - <Add directory="../../include" /> | |
37 | - </Compiler> | |
38 | - <Linker> | |
39 | - <Add option="`pkg-config --cflags libs`" /> | |
40 | - </Linker> | |
41 | - <Unit filename="../../include/pw3270/actions.h" /> | |
42 | - <Unit filename="../../include/pw3270/menu.h" /> | |
43 | - <Unit filename="model.c"> | |
44 | - <Option compilerVar="CC" /> | |
45 | - </Unit> | |
46 | - <Extensions> | |
47 | - <code_completion /> | |
48 | - <envvars /> | |
49 | - <debugger /> | |
50 | - <lib_finder disable_auto="1" /> | |
51 | - </Extensions> | |
52 | - </Project> | |
53 | -</CodeBlocks_project_file> |
src/objects/menu/model.c
... | ... | @@ -1,58 +0,0 @@ |
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 | - #include <pw3270/menu.h> | |
31 | - | |
32 | - struct _pw3270MenuModel { | |
33 | - GMenuModel parent; | |
34 | - | |
35 | - }; | |
36 | - | |
37 | - struct _pw3270MenuModelClass { | |
38 | - GMenuModelClass parent_class; | |
39 | - | |
40 | - }; | |
41 | - | |
42 | - | |
43 | - void pw3270MenuModel_class_init(pw3270MenuModel *klass) { | |
44 | - | |
45 | - } | |
46 | - | |
47 | - void pw3270MenuModel_init(pw3270MenuModel *model) { | |
48 | - | |
49 | - } | |
50 | - | |
51 | - GMenuModel * pw3270_menu_model_new(void) { | |
52 | - | |
53 | - pw3270MenuModel * model = (pw3270MenuModel *) g_object_new(PW3270_TYPE_MENU_MODEL, NULL); | |
54 | - | |
55 | - | |
56 | - | |
57 | - return G_MENU_MODEL(model); | |
58 | - } |