diff --git a/src/actions/abstract.c b/src/actions/abstract.c new file mode 100644 index 0000000..97dfcda --- /dev/null +++ b/src/actions/abstract.c @@ -0,0 +1,49 @@ +/* + * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 + * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a + * aplicativos mainframe. Registro no INPI sob o nome G3270. + * + * Copyright (C) <2008> + * + * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob + * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela + * Free Software Foundation. + * + * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER + * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO + * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para + * obter mais detalhes. + * + * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este + * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin + * St, Fifth Floor, Boston, MA 02110-1301 USA + * + * Este programa está nomeado como - e possui - linhas de código. + * + * Contatos: + * + * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) + * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça) + * + */ + + #include "private.h" + + static void pw3270_action_iface_init(GActionInterface *iface); + static void pw3270_action_class_init(pw3270ActionClass *klass); + static void pw3270_action_init(pw3270Action *action); + + G_DEFINE_TYPE_WITH_CODE(pw3270Action, pw3270_action, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(G_TYPE_ACTION, pw3270_action_iface_init)) + + void pw3270_action_iface_init(GActionInterface *iface) { + + } + + void pw3270_action_class_init(pw3270ActionClass *klass) { + + } + + void pw3270_action_init(pw3270Action *action) { + + } + diff --git a/src/actions/actions.cbp b/src/actions/actions.cbp index 4174d14..02471c6 100644 --- a/src/actions/actions.cbp +++ b/src/actions/actions.cbp @@ -39,7 +39,13 @@ + + + + diff --git a/src/actions/private.h b/src/actions/private.h index 4496122..aec6e32 100644 --- a/src/actions/private.h +++ b/src/actions/private.h @@ -43,4 +43,16 @@ #include #include + struct _pw3270Action { + GObject parent; + + }; + + struct _pw3270ActionClass { + + GObject parent_class; + + + }; + #endif // PRIVATE_H_INCLUDED diff --git a/src/actions/testprogram/testprogram.c b/src/actions/testprogram/testprogram.c new file mode 100644 index 0000000..0a3d142 --- /dev/null +++ b/src/actions/testprogram/testprogram.c @@ -0,0 +1,45 @@ +/* + * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 + * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a + * aplicativos mainframe. Registro no INPI sob o nome G3270. Registro no INPI sob + * o nome G3270. + * + * Copyright (C) <2008> + * + * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob + * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela + * Free Software Foundation. + * + * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER + * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO + * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para + * obter mais detalhes. + * + * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este + * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin + * St, Fifth Floor, Boston, MA 02110-1301 USA + * + * Este programa está nomeado como testprogram.c e possui - linhas de código. + * + * Contatos: + * + * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) + * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça) + * + */ + + #include + #include + #include + + /*---[ Implement ]----------------------------------------------------------------------------------*/ + + int main (int argc, char **argv) { + + + return 0; + + } + + + diff --git a/src/include/pw3270/actions.h b/src/include/pw3270/actions.h index 8f2dc94..5e2a50f 100644 --- a/src/include/pw3270/actions.h +++ b/src/include/pw3270/actions.h @@ -42,6 +42,15 @@ G_BEGIN_DECLS + #define PW3270_TYPE_ACTION (pw3270_action_get_type ()) + +// #define PW3270_ACTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), PW3270_TYPE_ACTION, pw3270Action)) +// #define PW3270_IS_ACTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), PW3270_TYPE_ACTION)) + + typedef struct _pw3270Action pw3270Action; + typedef struct _pw3270ActionClass pw3270ActionClass; + + GType pw3270_action_get_type(void) G_GNUC_CONST; G_END_DECLS diff --git a/src/include/pw3270/toolbar.h b/src/include/pw3270/toolbar.h index b544e08..bfb5d9c 100644 --- a/src/include/pw3270/toolbar.h +++ b/src/include/pw3270/toolbar.h @@ -42,7 +42,7 @@ G_BEGIN_DECLS - #define PW3270_TYPE_TOOLBAR (pw3270ToolBar_get_type ()) + #define PW3270_TYPE_TOOLBAR (pw3270ToolBar_get_type()) #define PW3270_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PW3270_TYPE_TOOLBAR, pw3270ToolBar)) #define PW3270_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PW3270_TYPE_TOOLBAR, pw3270ToolBarClass)) #define PW3270_IS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PW3270_TYPE_TOOLBAR)) -- libgit2 0.21.2