Revision 5ba2a82f
Von admin vor mehr als 6 Jahren hinzugefügt
| Makefile.am | ||
|---|---|---|
|
|
||
|
ACLOCAL_AMFLAGS = $(ADD_ACLOCAL_FLAGS) -I m4
|
||
|
|
||
|
iheaderdir=@aqbanking_headerdir_am@/aqbanking
|
||
|
iheader_HEADERS=\
|
||
|
version.h system.h
|
||
|
|
||
|
CLEANFILES = aqbanking-config aqbanking-config.in
|
||
|
|
||
|
aqbanking-config: aqbanking-config.in
|
||
| ... | ... | |
|
CLEANFILES += $(BUILT_SOURCES)
|
||
|
|
||
|
symlinks: mksymlinks.sh
|
||
|
${SHELL} mksymlinks.sh $(srcdir) $(builddir)
|
||
|
# ${SHELL} mksymlinks.sh $(srcdir) $(builddir)
|
||
|
|
||
|
sl-headers: mksymlinks.sh
|
||
|
$(MAKE) -C src built_sources
|
||
|
${SHELL} mksymlinks.sh $(srcdir) $(builddir)
|
||
|
# ${SHELL} mksymlinks.sh $(srcdir) $(builddir)
|
||
|
|
||
|
# Call this to have Qt's uic files and glade files cleaned up from
|
||
|
# bad elements
|
||
| configure.ac | ||
|---|---|---|
|
|
||
|
AQBANKING_VERSION_MAJOR=5
|
||
|
AQBANKING_VERSION_MINOR=99
|
||
|
AQBANKING_VERSION_PATCHLEVEL=21
|
||
|
AQBANKING_VERSION_PATCHLEVEL=22
|
||
|
AQBANKING_VERSION_BUILD=0
|
||
|
dnl "stable", "rcX", "betaX", "svn"
|
||
|
AQBANKING_VERSION_TAG="beta"
|
||
| ... | ... | |
|
|
||
|
AQBANKING_SO_CURRENT=43
|
||
|
AQBANKING_SO_AGE=0
|
||
|
AQBANKING_SO_REVISION=21
|
||
|
AQBANKING_SO_REVISION=22
|
||
|
AQBANKING_SO_EFFECTIVE="`echo \$(($AQBANKING_SO_CURRENT-$AQBANKING_SO_AGE))`"
|
||
|
|
||
|
|
||
| ... | ... | |
|
src/Makefile
|
||
|
src/libs/Makefile
|
||
|
src/libs/aqbanking/Makefile
|
||
|
src/libs/aqbanking/version.h
|
||
|
src/libs/aqbanking/system.h
|
||
|
src/libs/aqbanking/dialogs/Makefile
|
||
|
src/libs/aqbanking/types/Makefile
|
||
|
src/libs/aqbanking/types2/Makefile
|
||
|
src/libs/aqbanking/gui/Makefile
|
||
|
src/libs/aqbanking/typemaker2/Makefile
|
||
|
src/libs/aqbanking/typemaker2/c/Makefile
|
||
| ... | ... | |
|
aqbanking.pc
|
||
|
aqbanking.spec
|
||
|
aqbanking.iss
|
||
|
version.h
|
||
|
system.h
|
||
|
aqbanking-config.cmake
|
||
|
aqbanking-config-version.cmake
|
||
|
])
|
||
| mksymlinks.sh.in | ||
|---|---|---|
|
AQ_HEADER_FILES="${AQ_HEADER_FILES} ${dst}/${f}.h"
|
||
|
ln -s "${bprefix}/${src}/${f}.h" "${dst}/${f}.h"
|
||
|
;;
|
||
|
version.h.in)
|
||
|
AQ_HEADER_FILES="${AQ_HEADER_FILES} ${dst}/version.h"
|
||
|
ln -s "${bprefix}/${src}/version.h" "${dst}/version.h"
|
||
|
;;
|
||
|
system.h.in)
|
||
|
AQ_HEADER_FILES="${AQ_HEADER_FILES} ${dst}/system.h"
|
||
|
ln -s "${bprefix}/${src}/system.h" "${dst}/system.h"
|
||
|
;;
|
||
|
# version.h.in)
|
||
|
# AQ_HEADER_FILES="${AQ_HEADER_FILES} ${dst}/version.h"
|
||
|
# ln -s "${bprefix}/${src}/version.h" "${dst}/version.h"
|
||
|
# ;;
|
||
|
# system.h.in)
|
||
|
# AQ_HEADER_FILES="${AQ_HEADER_FILES} ${dst}/system.h"
|
||
|
# ln -s "${bprefix}/${src}/system.h" "${dst}/system.h"
|
||
|
# ;;
|
||
|
*.h)
|
||
|
AQ_HEADER_FILES="${AQ_HEADER_FILES} ${dst}/${f}"
|
||
|
ln -s "${sprefix}/${src}/${f}" "${dst}/${f}"
|
||
| ... | ... | |
|
|
||
|
|
||
|
|
||
|
# symlink all headers from src/lib/aqbanking
|
||
|
AQ_HEADER_FILES="${sprefix}/version.h ${sprefix}/system.h"
|
||
|
mkdir -p aqbanking6/aqbanking
|
||
|
symlinkFolder "src/libs/aqbanking" "aqbanking6/aqbanking"
|
||
|
ln -s "${bprefix}/version.h" aqbanking6/aqbanking/version.h
|
||
|
ln -s "${bprefix}/system.h" aqbanking6/aqbanking/system.h
|
||
|
ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_jobqueue.h" aqbanking6/aqbanking
|
||
|
ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_accountqueue.h" aqbanking6/aqbanking
|
||
|
ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_userqueue.h" aqbanking6/aqbanking
|
||
|
ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_queue.h" aqbanking6/aqbanking
|
||
|
ln -s "${bprefix}/src/libs/aqbanking/backendsupport/siotlsext.h" aqbanking6/aqbanking
|
||
|
|
||
|
# symlink all headers from src/lib/aqbankingpp
|
||
|
mkdir -p aqbanking6/aqbankingpp
|
||
|
symlinkFolder "src/libs/aqbankingpp" "aqbanking6/aqbankingpp"
|
||
|
## symlink all headers from src/lib/aqbanking
|
||
|
#AQ_HEADER_FILES="${sprefix}/version.h ${sprefix}/system.h"
|
||
|
#mkdir -p aqbanking6/aqbanking
|
||
|
#symlinkFolder "src/libs/aqbanking" "aqbanking6/aqbanking"
|
||
|
#ln -s "${bprefix}/version.h" aqbanking6/aqbanking/version.h
|
||
|
#ln -s "${bprefix}/system.h" aqbanking6/aqbanking/system.h
|
||
|
#ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_jobqueue.h" aqbanking6/aqbanking
|
||
|
#ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_accountqueue.h" aqbanking6/aqbanking
|
||
|
#ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_userqueue.h" aqbanking6/aqbanking
|
||
|
#ln -s "${bprefix}/src/libs/aqbanking/backendsupport/ab_queue.h" aqbanking6/aqbanking
|
||
|
#ln -s "${bprefix}/src/libs/aqbanking/backendsupport/siotlsext.h" aqbanking6/aqbanking
|
||
|
#
|
||
|
## symlink all headers from src/lib/aqbankingpp
|
||
|
#mkdir -p aqbanking6/aqbankingpp
|
||
|
#symlinkFolder "src/libs/aqbankingpp" "aqbanking6/aqbankingpp"
|
||
|
|
||
|
# symlink all headers from src/libs/plugins/backends/
|
||
|
dirlist='@aqbanking_backends@' # list might be empty
|
||
|
#dirlist='@aqbanking_backends@' # list might be empty
|
||
|
dirlist='aqebics aqofxconnect aqpaypal'
|
||
|
for backend in ${dirlist} ; do
|
||
|
mkdir -p aqbanking6/${backend}
|
||
|
if [ -d "src/libs/plugins/backends/${backend}" ] ; then
|
||
| src/libs/aqbanking/Makefile.am | ||
|---|---|---|
|
SUBDIRS=types2 types gui backendsupport typemaker2 dialogs
|
||
|
SUBDIRS=types gui backendsupport typemaker2 dialogs
|
||
|
|
||
|
INCLUDES = \
|
||
|
$(gwenhywfar_includes) \
|
||
|
-I$(aqbanking_symlinkdir) \
|
||
|
-I$(srcdir)/types \
|
||
|
-I$(srcdir)/dialogs \
|
||
|
-I$(srcdir)/backendsupport
|
||
|
-I$(srcdir)/../
|
||
|
|
||
|
noinst_LTLIBRARIES=libaqbanking_base.la
|
||
|
|
||
| ... | ... | |
|
banking_transaction.c \
|
||
|
banking_update.c \
|
||
|
banking_user.c \
|
||
|
banking_compat.c
|
||
|
banking_compat.c \
|
||
|
system.h.in \
|
||
|
version.h.in
|
||
|
|
||
|
|
||
|
|
||
| ... | ... | |
|
banking_bankinfo.h \
|
||
|
banking_online.h \
|
||
|
banking_transaction.h \
|
||
|
error.h
|
||
|
error.h \
|
||
|
system.h \
|
||
|
version.h
|
||
|
|
||
|
|
||
|
libaqbanking_base_la_SOURCES=\
|
||
| ... | ... | |
|
|
||
|
libaqbanking_base_la_LIBADD= \
|
||
|
backendsupport/libabbesupport.la \
|
||
|
types2/libabtypes2.la \
|
||
|
types/libtypes.la \
|
||
|
types/libabtypes.la \
|
||
|
gui/libabgui.la \
|
||
|
dialogs/libabdialogs.la
|
||
|
|
||
| src/libs/aqbanking/backendsupport/Makefile.am | ||
|---|---|---|
|
INCLUDES=-I$(aqbanking_symlinkdir) @all_includes@ -I.. -I$(srcdir)/..
|
||
|
INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/.. $(gwenhywfar_includes)
|
||
|
|
||
|
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
|
||
|
|
||
| ... | ... | |
|
|
||
|
noinst_HEADERS= $(built_headers_pub)\
|
||
|
siotlsext.h \
|
||
|
dlg_newaccount_be.h \
|
||
|
dlg_newuser_be.h \
|
||
|
httpsession.h \
|
||
|
msgengine.h \
|
||
|
provider.h \
|
||
| ... | ... | |
|
bankinfoplugin.h \
|
||
|
bankinfoplugin_be.h \
|
||
|
siotlsext_p.h \
|
||
|
dlg_newaccount_p.h \
|
||
|
dlg_newuser_p.h \
|
||
|
httpsession_p.h \
|
||
|
msgengine_p.h \
|
||
|
provider_l.h \
|
||
| ... | ... | |
|
noinst_LTLIBRARIES=libabbesupport.la
|
||
|
libabbesupport_la_SOURCES=$(typedata_sources) \
|
||
|
siotlsext.c \
|
||
|
dlg_newaccount.c \
|
||
|
dlg_newuser.c \
|
||
|
httpsession.c \
|
||
|
msgengine.c \
|
||
|
provider.c \
|
||
| ... | ... | |
|
built_sources: $(typedata_sources)
|
||
|
|
||
|
.xml.c:
|
||
|
$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types2 -I $(builddir) --destfolder="$(builddir)" $<
|
||
|
$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types -I $(builddir) --destfolder="$(builddir)" $<
|
||
|
|
||
|
.xml.h:
|
||
|
$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types2 -I $(builddir) --destfolder="$(builddir)" $<
|
||
|
$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types -I $(builddir) --destfolder="$(builddir)" $<
|
||
|
|
||
|
SUFFIXES = .xml .c
|
||
|
|
||
|
|
||
|
types: $(typefiles)
|
||
|
$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types2 --destfolder="$(srcdir)" $(typefiles)
|
||
|
$(typemaker2_exe) -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types --destfolder="$(srcdir)" $(typefiles)
|
||
|
|
||
|
typedefs: $(typefiles)
|
||
|
$(typemaker2_exe) --defs-only -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types2 --destfolder="$(srcdir)" $(typefiles)
|
||
|
$(typemaker2_exe) --defs-only -I $(top_srcdir)/src/libs/aqbanking/typemaker2/c -I $(srcdir) -I $(srcdir)/../types --destfolder="$(srcdir)" $(typefiles)
|
||
|
|
||
|
|
||
|
format_build_files:
|
||
| src/libs/aqbanking/backendsupport/ab_accountqueue.xml | ||
|---|---|---|
|
<headers>
|
||
|
<header type="sys" loc="pre">aqbanking/error.h</header>
|
||
|
|
||
|
<header type="sys" loc="post">aqbanking/account_spec.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/account.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/ab_jobqueue.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/types/account_spec.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/account.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/ab_jobqueue.h</header>
|
||
|
|
||
|
<header type="sys" loc="post">aqbanking/transaction.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/types/transaction.h</header>
|
||
|
</headers>
|
||
|
|
||
|
<inlines>
|
||
| src/libs/aqbanking/backendsupport/ab_jobqueue.xml | ||
|---|---|---|
|
<headers>
|
||
|
<header type="sys" loc="pre">aqbanking/error.h</header>
|
||
|
|
||
|
<header type="sys" loc="post">aqbanking/transaction.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/types/transaction.h</header>
|
||
|
</headers>
|
||
|
|
||
|
|
||
| src/libs/aqbanking/backendsupport/ab_providerqueue.xml | ||
|---|---|---|
|
<headers>
|
||
|
<header type="sys" loc="pre">aqbanking/error.h</header>
|
||
|
|
||
|
<header type="sys" loc="post">aqbanking/ab_accountqueue.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/provider.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/ab_accountqueue.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/provider.h</header>
|
||
|
</headers>
|
||
|
|
||
|
<inlines>
|
||
| src/libs/aqbanking/backendsupport/ab_queue.xml | ||
|---|---|---|
|
|
||
|
<headers>
|
||
|
<header type="sys" loc="pre">aqbanking/error.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/ab_userqueue.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/ab_userqueue.h</header>
|
||
|
</headers>
|
||
|
|
||
|
<inlines>
|
||
| src/libs/aqbanking/backendsupport/ab_userqueue.xml | ||
|---|---|---|
|
|
||
|
<headers>
|
||
|
<header type="sys" loc="pre">aqbanking/banking.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/user.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/ab_accountqueue.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/user.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/ab_accountqueue.h</header>
|
||
|
</headers>
|
||
|
|
||
|
<inlines>
|
||
| src/libs/aqbanking/backendsupport/account.xml | ||
|---|---|---|
|
<header type="sys" loc="pre">gwenhywfar/buffer.h</header>
|
||
|
|
||
|
<header type="sys" loc="post">aqbanking/account_type.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/provider.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/provider.h</header>
|
||
|
|
||
|
</headers>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/bankinfoplugin.h | ||
|---|---|---|
|
#ifndef AQBANKING_BANKINFOPLUGIN_H
|
||
|
#define AQBANKING_BANKINFOPLUGIN_H
|
||
|
|
||
|
#include <aqbanking/bankinfo.h>
|
||
|
#include <aqbanking/types/bankinfo.h>
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/backendsupport/bankinfoplugin_be.h | ||
|---|---|---|
|
#ifndef AQBANKING_BANKINFOPLUGIN_BE_H
|
||
|
#define AQBANKING_BANKINFOPLUGIN_BE_H
|
||
|
|
||
|
#include <aqbanking/bankinfoplugin.h>
|
||
|
#include <aqbanking/backendsupport/bankinfoplugin.h>
|
||
|
|
||
|
|
||
|
typedef struct AB_BANKINFO_PLUGIN AB_BANKINFO_PLUGIN;
|
||
| src/libs/aqbanking/backendsupport/dlg_newaccount.c | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2010 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
# include <config.h>
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#include "dlg_newaccount_p.h"
|
||
|
|
||
|
|
||
|
GWEN_INHERIT(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG)
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewAccountDialog_new(AB_BANKING *ab, const char *dname)
|
||
|
{
|
||
|
GWEN_DIALOG *dlg;
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
dlg=GWEN_Dialog_new(dname);
|
||
|
GWEN_NEW_OBJECT(AB_NEWACCOUNT_DIALOG, xdlg);
|
||
|
GWEN_INHERIT_SETDATA(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG, dlg, xdlg,
|
||
|
AB_NewAccountDialog_FreeData);
|
||
|
|
||
|
return dlg;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void GWENHYWFAR_CB AB_NewAccountDialog_FreeData(void *bp, void *p)
|
||
|
{
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
xdlg=(AB_NEWACCOUNT_DIALOG *) p;
|
||
|
GWEN_FREE_OBJECT(xdlg);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_ACCOUNT *AB_NewAccountDialog_GetAccount(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG, dlg);
|
||
|
assert(dlg);
|
||
|
|
||
|
return xdlg->account;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void AB_NewAccountDialog_SetAccount(GWEN_DIALOG *dlg, AB_ACCOUNT *a)
|
||
|
{
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG, dlg);
|
||
|
assert(dlg);
|
||
|
|
||
|
xdlg->account=a;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/backendsupport/dlg_newaccount_be.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEW_ACCOUNT_BE_H
|
||
|
#define AB_DLG_NEW_ACCOUNT_BE_H
|
||
|
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/account.h>
|
||
|
|
||
|
#include <gwenhywfar/dialog.h>
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewAccountDialog_new(AB_BANKING *ab, const char *dname);
|
||
|
|
||
|
AB_ACCOUNT *AB_NewAccountDialog_GetAccount(const GWEN_DIALOG *dlg);
|
||
|
void AB_NewAccountDialog_SetAccount(GWEN_DIALOG *dlg, AB_ACCOUNT *a);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/backendsupport/dlg_newaccount_p.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2010 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEWACCOUNT_P_H
|
||
|
#define AB_DLG_NEWACCOUNT_P_H
|
||
|
|
||
|
|
||
|
#include "dlg_newaccount_be.h"
|
||
|
|
||
|
|
||
|
|
||
|
typedef struct AB_NEWACCOUNT_DIALOG AB_NEWACCOUNT_DIALOG;
|
||
|
struct AB_NEWACCOUNT_DIALOG {
|
||
|
AB_BANKING *banking;
|
||
|
AB_ACCOUNT *account;
|
||
|
};
|
||
|
|
||
|
|
||
|
static void GWENHYWFAR_CB AB_NewAccountDialog_FreeData(void *bp, void *p);
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/backendsupport/dlg_newuser.c | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
# include <config.h>
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#include "dlg_newuser_p.h"
|
||
|
|
||
|
|
||
|
GWEN_INHERIT(GWEN_DIALOG, AB_NEWUSER_DIALOG)
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewUserDialog_new(AB_BANKING *ab, AB_PROVIDER *pro, const char *dname)
|
||
|
{
|
||
|
GWEN_DIALOG *dlg;
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
dlg=GWEN_Dialog_new(dname);
|
||
|
GWEN_NEW_OBJECT(AB_NEWUSER_DIALOG, xdlg);
|
||
|
GWEN_INHERIT_SETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg, xdlg,
|
||
|
AB_NewUserDialog_FreeData);
|
||
|
|
||
|
xdlg->banking=ab;
|
||
|
xdlg->provider=pro;
|
||
|
return dlg;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void GWENHYWFAR_CB AB_NewUserDialog_FreeData(void *bp, void *p)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
xdlg=(AB_NEWUSER_DIALOG *) p;
|
||
|
GWEN_FREE_OBJECT(xdlg);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_USER *AB_NewUserDialog_GetUser(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
return xdlg->user;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void AB_NewUserDialog_SetUser(GWEN_DIALOG *dlg, AB_USER *u)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
xdlg->user=u;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_BANKING *AB_NewUserDialog_GetBanking(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
return xdlg->banking;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_PROVIDER *AB_NewUserDialog_GetProvider(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
return xdlg->provider;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/backendsupport/dlg_newuser_be.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEW_USER_BE_H
|
||
|
#define AB_DLG_NEW_USER_BE_H
|
||
|
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/user.h>
|
||
|
|
||
|
#include <gwenhywfar/dialog.h>
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewUserDialog_new(AB_BANKING *ab, AB_PROVIDER *pro, const char *dname);
|
||
|
|
||
|
AB_BANKING *AB_NewUserDialog_GetBanking(const GWEN_DIALOG *dlg);
|
||
|
AB_PROVIDER *AB_NewUserDialog_GetProvider(const GWEN_DIALOG *dlg);
|
||
|
|
||
|
AB_USER *AB_NewUserDialog_GetUser(const GWEN_DIALOG *dlg);
|
||
|
void AB_NewUserDialog_SetUser(GWEN_DIALOG *dlg, AB_USER *u);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/backendsupport/dlg_newuser_p.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEWUSER_P_H
|
||
|
#define AB_DLG_NEWUSER_P_H
|
||
|
|
||
|
|
||
|
#include "dlg_newuser_be.h"
|
||
|
|
||
|
|
||
|
|
||
|
typedef struct AB_NEWUSER_DIALOG AB_NEWUSER_DIALOG;
|
||
|
struct AB_NEWUSER_DIALOG {
|
||
|
AB_BANKING *banking;
|
||
|
AB_PROVIDER *provider;
|
||
|
AB_USER *user;
|
||
|
};
|
||
|
|
||
|
|
||
|
static void GWENHYWFAR_CB AB_NewUserDialog_FreeData(void *bp, void *p);
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/backendsupport/httpsession.c | ||
|---|---|---|
|
|
||
|
#include "httpsession_p.h"
|
||
|
#include "i18n_l.h"
|
||
|
#include <aqbanking/siotlsext.h>
|
||
|
#include <aqbanking/backendsupport/siotlsext.h>
|
||
|
|
||
|
#include <gwenhywfar/misc.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
| src/libs/aqbanking/backendsupport/httpsession.h | ||
|---|---|---|
|
#ifndef AB_HTTPSESS_H
|
||
|
#define AB_HTTPSESS_H
|
||
|
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/provider.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
#include <aqbanking/backendsupport/provider.h>
|
||
|
|
||
|
#include <gwenhywfar/httpsession.h>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/httpsession_p.h | ||
|---|---|---|
|
|
||
|
#include "httpsession.h"
|
||
|
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/backendsupport/imexporter.h | ||
|---|---|---|
|
#endif
|
||
|
|
||
|
|
||
|
#include <aqbanking/imexporter_context.h>
|
||
|
#include <aqbanking/imexporter_accountinfo.h>
|
||
|
#include <aqbanking/types/imexporter_context.h>
|
||
|
#include <aqbanking/types/imexporter_accountinfo.h>
|
||
|
#include <aqbanking/banking.h>
|
||
|
|
||
|
|
||
| src/libs/aqbanking/backendsupport/imexporter_be.h | ||
|---|---|---|
|
#define AQBANKING_IMEXPORTER_BE_H
|
||
|
|
||
|
|
||
|
#include <aqbanking/imexporter.h>
|
||
|
#include <aqbanking/backendsupport/imexporter.h>
|
||
|
|
||
|
#include <gwenhywfar/misc.h>
|
||
|
#include <gwenhywfar/plugin.h>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/imexporter_l.h | ||
|---|---|---|
|
#define AB_IMEXPORTER_FOLDER "imexporters"
|
||
|
|
||
|
|
||
|
#include <aqbanking/imexporter.h>
|
||
|
#include <aqbanking/imexporter_be.h>
|
||
|
#include <aqbanking/backendsupport/imexporter.h>
|
||
|
#include <aqbanking/backendsupport/imexporter_be.h>
|
||
|
|
||
|
#include <gwenhywfar/misc.h>
|
||
|
#include <gwenhywfar/libloader.h>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/imexporter_p.h | ||
|---|---|---|
|
|
||
|
#include "imexporter_l.h"
|
||
|
|
||
|
#include <aqbanking/transaction.h>
|
||
|
#include <aqbanking/types/transaction.h>
|
||
|
|
||
|
#include <gwenhywfar/misc.h>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/provider_be.h | ||
|---|---|---|
|
#ifndef AQBANKING_PROVIDER_BE_H
|
||
|
#define AQBANKING_PROVIDER_BE_H
|
||
|
|
||
|
#include <aqbanking/provider.h>
|
||
|
#include <aqbanking/ab_providerqueue.h>
|
||
|
#include <aqbanking/ab_userqueue.h>
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/backendsupport/provider.h>
|
||
|
#include <aqbanking/backendsupport/ab_providerqueue.h>
|
||
|
#include <aqbanking/backendsupport/ab_userqueue.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
|
||
|
#include <gwenhywfar/plugin.h>
|
||
|
#include <gwenhywfar/db.h>
|
||
| src/libs/aqbanking/backendsupport/provider_l.h | ||
|---|---|---|
|
#define AB_PROVIDER_FOLDER "providers"
|
||
|
#define AB_PROVIDER_DEBUGGER_FOLDER "debugger"
|
||
|
|
||
|
#include <aqbanking/provider.h>
|
||
|
#include <aqbanking/provider_be.h>
|
||
|
#include <aqbanking/backendsupport/provider.h>
|
||
|
#include <aqbanking/backendsupport/provider_be.h>
|
||
|
|
||
|
#include <gwenhywfar/plugin.h>
|
||
|
|
||
|
GWEN_LIST_FUNCTION_DEFS(AB_PROVIDER, AB_Provider)
|
||
| src/libs/aqbanking/backendsupport/siotlsext.h | ||
|---|---|---|
|
#define AQBANKING_SIOTLSEXT_H
|
||
|
|
||
|
#include <aqbanking/error.h>
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
|
||
|
#include <gwenhywfar/syncio.h>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/siotlsext_p.h | ||
|---|---|---|
|
#ifndef AQBANKING_SIOTLSEXT_P_H
|
||
|
#define AQBANKING_SIOTLSEXT_P_H
|
||
|
|
||
|
#include <aqbanking/siotlsext.h>
|
||
|
#include <aqbanking/backendsupport/siotlsext.h>
|
||
|
|
||
|
#include <gwenhywfar/syncio_tls.h>
|
||
|
|
||
| src/libs/aqbanking/backendsupport/user.xml | ||
|---|---|---|
|
<header type="sys" loc="pre">gwenhywfar/text.h</header>
|
||
|
<header type="sys" loc="pre">gwenhywfar/buffer.h</header>
|
||
|
|
||
|
<header type="sys" loc="post">aqbanking/provider.h</header>
|
||
|
<header type="sys" loc="post">aqbanking/backendsupport/provider.h</header>
|
||
|
|
||
|
</headers>
|
||
|
|
||
| src/libs/aqbanking/banking.c | ||
|---|---|---|
|
|
||
|
|
||
|
#include "banking_p.h"
|
||
|
#include "provider_l.h"
|
||
|
#include "imexporter_l.h"
|
||
|
#include "bankinfoplugin_l.h"
|
||
|
#include "backendsupport/provider_l.h"
|
||
|
#include "backendsupport/imexporter_l.h"
|
||
|
#include "backendsupport/bankinfoplugin_l.h"
|
||
|
#include "i18n_l.h"
|
||
|
#include "banking_dialogs.h"
|
||
|
|
||
| src/libs/aqbanking/banking_bankinfo.h | ||
|---|---|---|
|
#ifndef AQBANKING_BANKING_INFO_H
|
||
|
#define AQBANKING_BANKING_INFO_H
|
||
|
|
||
|
#include <aqbanking/bankinfo.h>
|
||
|
#include <aqbanking/types/bankinfo.h>
|
||
|
|
||
|
|
||
|
typedef enum {
|
||
| src/libs/aqbanking/banking_be.h | ||
|---|---|---|
|
#include <gwenhywfar/db.h>
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/provider_be.h>
|
||
|
#include <aqbanking/backendsupport/provider_be.h>
|
||
|
|
||
|
#include <gwenhywfar/httpsession.h>
|
||
|
#include <gwenhywfar/ct.h>
|
||
| src/libs/aqbanking/banking_dialogs.c | ||
|---|---|---|
|
/* This file is included by banking.c */
|
||
|
|
||
|
|
||
|
#include "dlg_importer.h"
|
||
|
#include "dlg_setup.h"
|
||
|
#include "dialogs/dlg_importer.h"
|
||
|
#include "dialogs/dlg_setup.h"
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/banking_imex.h | ||
|---|---|---|
|
#ifndef AQBANKING_BANKING_IMEX_H
|
||
|
#define AQBANKING_BANKING_IMEX_H
|
||
|
|
||
|
#include <aqbanking/transaction.h>
|
||
|
#include <aqbanking/imexporter_context.h>
|
||
|
#include <aqbanking/imexporter_accountinfo.h>
|
||
|
#include <aqbanking/types/transaction.h>
|
||
|
#include <aqbanking/types/imexporter_context.h>
|
||
|
#include <aqbanking/types/imexporter_accountinfo.h>
|
||
|
|
||
|
#include <gwenhywfar/plugindescr.h>
|
||
|
|
||
| src/libs/aqbanking/banking_l.h | ||
|---|---|---|
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/banking_be.h>
|
||
|
#include <aqbanking/bankinfoplugin_be.h>
|
||
|
#include <aqbanking/backendsupport/bankinfoplugin_be.h>
|
||
|
|
||
|
#include <gwenhywfar/configmgr.h>
|
||
|
#include <gwenhywfar/stringlist.h>
|
||
| src/libs/aqbanking/banking_online.h | ||
|---|---|---|
|
#define AQBANKING_BANKING_OB_H
|
||
|
|
||
|
#include <aqbanking/error.h>
|
||
|
#include <aqbanking/account_spec.h>
|
||
|
#include <aqbanking/types/account_spec.h>
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
| src/libs/aqbanking/banking_p.h | ||
|---|---|---|
|
|
||
|
|
||
|
#include "banking_l.h"
|
||
|
#include "provider_l.h"
|
||
|
#include "imexporter_l.h"
|
||
|
#include "bankinfoplugin_l.h"
|
||
|
#include "backendsupport/provider_l.h"
|
||
|
#include "backendsupport/imexporter_l.h"
|
||
|
#include "backendsupport/bankinfoplugin_l.h"
|
||
|
|
||
|
#include <gwenhywfar/plugin.h>
|
||
|
#include <gwenhywfar/syncio_memory.h>
|
||
| src/libs/aqbanking/banking_transaction.h | ||
|---|---|---|
|
#define AQBANKING_BANKING_TRANSACTION_H
|
||
|
|
||
|
#include <aqbanking/error.h>
|
||
|
#include <aqbanking/transaction.h>
|
||
|
#include <aqbanking/transactionlimits.h>
|
||
|
#include <aqbanking/types/transaction.h>
|
||
|
#include <aqbanking/types/transactionlimits.h>
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
| src/libs/aqbanking/dialogs/Makefile.am | ||
|---|---|---|
|
INCLUDES=-I$(aqbanking_symlinkdir) \
|
||
|
-I.. -I$(srcdir)/.. \
|
||
|
@all_includes@
|
||
|
INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/.. $(gwenhywfar_includes)
|
||
|
|
||
|
AM_CFLAGS=-DBUILDING_AQBANKING @visibility_cflags@
|
||
|
|
||
| ... | ... | |
|
dlg_usertype_page_p.h \
|
||
|
dlg_setup_newuser_p.h \
|
||
|
dlg_usertype_pagedefault_l.h \
|
||
|
dlg_usertype_pagedefault_p.h
|
||
|
dlg_usertype_pagedefault_p.h \
|
||
|
dlg_newaccount_be.h \
|
||
|
dlg_newaccount_p.h \
|
||
|
dlg_newuser_be.h \
|
||
|
dlg_newuser_p.h
|
||
|
|
||
|
libabdialogs_la_SOURCES=\
|
||
|
dlg_importer.c \
|
||
| ... | ... | |
|
dlg_edituser.c \
|
||
|
dlg_usertype_page.c \
|
||
|
dlg_setup_newuser.c \
|
||
|
dlg_usertype_pagedefault.c
|
||
|
dlg_usertype_pagedefault.c \
|
||
|
dlg_newaccount.c \
|
||
|
dlg_newuser.c
|
||
|
|
||
|
|
||
|
dlgdatadir=$(aqbanking_pkgdatadir)/dialogs
|
||
| src/libs/aqbanking/dialogs/dlg_editaccount.c | ||
|---|---|---|
|
#include "dlg_editaccount_p.h"
|
||
|
#include "i18n_l.h"
|
||
|
|
||
|
#include <aqbanking/account.h>
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/backendsupport/account.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
#include <aqbanking/banking_be.h>
|
||
|
#include <aqbanking/provider_be.h>
|
||
|
#include <aqbanking/dlg_selectbankinfo.h>
|
||
|
#include <aqbanking/backendsupport/provider_be.h>
|
||
|
#include <aqbanking/dialogs/dlg_selectbankinfo.h>
|
||
|
|
||
|
#include <gwenhywfar/gwenhywfar.h>
|
||
|
#include <gwenhywfar/misc.h>
|
||
| src/libs/aqbanking/dialogs/dlg_editaccount.h | ||
|---|---|---|
|
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/account.h>
|
||
|
#include <aqbanking/backendsupport/account.h>
|
||
|
|
||
|
#include <gwenhywfar/dialog.h>
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_edituser.c | ||
|---|---|---|
|
#include "dlg_edituser_p.h"
|
||
|
#include "i18n_l.h"
|
||
|
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
#include <aqbanking/banking_be.h>
|
||
|
#include <aqbanking/provider_be.h>
|
||
|
#include <aqbanking/dlg_selectbankinfo.h>
|
||
|
#include <aqbanking/backendsupport/provider_be.h>
|
||
|
#include <aqbanking/dialogs/dlg_selectbankinfo.h>
|
||
|
|
||
|
#include <gwenhywfar/gwenhywfar.h>
|
||
|
#include <gwenhywfar/misc.h>
|
||
| src/libs/aqbanking/dialogs/dlg_edituser.h | ||
|---|---|---|
|
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/user.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
|
||
|
#include <gwenhywfar/dialog.h>
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_importer.h | ||
|---|---|---|
|
#include <gwenhywfar/db.h>
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/imexporter.h>
|
||
|
#include <aqbanking/backendsupport/imexporter.h>
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_newaccount.c | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2010 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
# include <config.h>
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#include "dlg_newaccount_p.h"
|
||
|
|
||
|
|
||
|
GWEN_INHERIT(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG)
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewAccountDialog_new(AB_BANKING *ab, const char *dname)
|
||
|
{
|
||
|
GWEN_DIALOG *dlg;
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
dlg=GWEN_Dialog_new(dname);
|
||
|
GWEN_NEW_OBJECT(AB_NEWACCOUNT_DIALOG, xdlg);
|
||
|
GWEN_INHERIT_SETDATA(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG, dlg, xdlg,
|
||
|
AB_NewAccountDialog_FreeData);
|
||
|
|
||
|
return dlg;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void GWENHYWFAR_CB AB_NewAccountDialog_FreeData(void *bp, void *p)
|
||
|
{
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
xdlg=(AB_NEWACCOUNT_DIALOG *) p;
|
||
|
GWEN_FREE_OBJECT(xdlg);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_ACCOUNT *AB_NewAccountDialog_GetAccount(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG, dlg);
|
||
|
assert(dlg);
|
||
|
|
||
|
return xdlg->account;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void AB_NewAccountDialog_SetAccount(GWEN_DIALOG *dlg, AB_ACCOUNT *a)
|
||
|
{
|
||
|
AB_NEWACCOUNT_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWACCOUNT_DIALOG, dlg);
|
||
|
assert(dlg);
|
||
|
|
||
|
xdlg->account=a;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_newaccount_be.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEW_ACCOUNT_BE_H
|
||
|
#define AB_DLG_NEW_ACCOUNT_BE_H
|
||
|
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/backendsupport/account.h>
|
||
|
|
||
|
#include <gwenhywfar/dialog.h>
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewAccountDialog_new(AB_BANKING *ab, const char *dname);
|
||
|
|
||
|
AB_ACCOUNT *AB_NewAccountDialog_GetAccount(const GWEN_DIALOG *dlg);
|
||
|
void AB_NewAccountDialog_SetAccount(GWEN_DIALOG *dlg, AB_ACCOUNT *a);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_newaccount_p.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2010 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEWACCOUNT_P_H
|
||
|
#define AB_DLG_NEWACCOUNT_P_H
|
||
|
|
||
|
|
||
|
#include "dlg_newaccount_be.h"
|
||
|
|
||
|
|
||
|
|
||
|
typedef struct AB_NEWACCOUNT_DIALOG AB_NEWACCOUNT_DIALOG;
|
||
|
struct AB_NEWACCOUNT_DIALOG {
|
||
|
AB_BANKING *banking;
|
||
|
AB_ACCOUNT *account;
|
||
|
};
|
||
|
|
||
|
|
||
|
static void GWENHYWFAR_CB AB_NewAccountDialog_FreeData(void *bp, void *p);
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_newuser.c | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifdef HAVE_CONFIG_H
|
||
|
# include <config.h>
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#include "dlg_newuser_p.h"
|
||
|
|
||
|
|
||
|
GWEN_INHERIT(GWEN_DIALOG, AB_NEWUSER_DIALOG)
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewUserDialog_new(AB_BANKING *ab, AB_PROVIDER *pro, const char *dname)
|
||
|
{
|
||
|
GWEN_DIALOG *dlg;
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
dlg=GWEN_Dialog_new(dname);
|
||
|
GWEN_NEW_OBJECT(AB_NEWUSER_DIALOG, xdlg);
|
||
|
GWEN_INHERIT_SETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg, xdlg,
|
||
|
AB_NewUserDialog_FreeData);
|
||
|
|
||
|
xdlg->banking=ab;
|
||
|
xdlg->provider=pro;
|
||
|
return dlg;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void GWENHYWFAR_CB AB_NewUserDialog_FreeData(void *bp, void *p)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
xdlg=(AB_NEWUSER_DIALOG *) p;
|
||
|
GWEN_FREE_OBJECT(xdlg);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_USER *AB_NewUserDialog_GetUser(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
return xdlg->user;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void AB_NewUserDialog_SetUser(GWEN_DIALOG *dlg, AB_USER *u)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
xdlg->user=u;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_BANKING *AB_NewUserDialog_GetBanking(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
return xdlg->banking;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
AB_PROVIDER *AB_NewUserDialog_GetProvider(const GWEN_DIALOG *dlg)
|
||
|
{
|
||
|
AB_NEWUSER_DIALOG *xdlg;
|
||
|
|
||
|
assert(dlg);
|
||
|
xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_NEWUSER_DIALOG, dlg);
|
||
|
assert(xdlg);
|
||
|
|
||
|
return xdlg->provider;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_newuser_be.h | ||
|---|---|---|
|
/***************************************************************************
|
||
|
begin : Wed Apr 14 2010
|
||
|
copyright : (C) 2018 by Martin Preuss
|
||
|
email : martin@aqbanking.de
|
||
|
|
||
|
***************************************************************************
|
||
|
* This file is part of the project "AqBanking". *
|
||
|
* Please see toplevel file COPYING of that project for license details. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef AB_DLG_NEW_USER_BE_H
|
||
|
#define AB_DLG_NEW_USER_BE_H
|
||
|
|
||
|
|
||
|
#include <aqbanking/banking.h>
|
||
|
#include <aqbanking/backendsupport/user.h>
|
||
|
|
||
|
#include <gwenhywfar/dialog.h>
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
GWEN_DIALOG *AB_NewUserDialog_new(AB_BANKING *ab, AB_PROVIDER *pro, const char *dname);
|
||
|
|
||
|
AB_BANKING *AB_NewUserDialog_GetBanking(const GWEN_DIALOG *dlg);
|
||
|
AB_PROVIDER *AB_NewUserDialog_GetProvider(const GWEN_DIALOG *dlg);
|
||
|
|
||
|
AB_USER *AB_NewUserDialog_GetUser(const GWEN_DIALOG *dlg);
|
||
|
void AB_NewUserDialog_SetUser(GWEN_DIALOG *dlg, AB_USER *u);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
| src/libs/aqbanking/dialogs/dlg_newuser_p.h | ||
|---|---|---|
|
/***************************************************************************
|
||
Auch abrufbar als: Unified diff
Started simplifying BUILD process.
- no longer need to create symlinks
- started setting explicit paths to include directives
- moved some code files from previous "types" folder to "types2"
- moved some files from "backendsupport" to "dialogs"
- removed "types"
- renamed "types2" to "types"
- moved "system.h" and "version.h" to "aqbanking/"
These changes mean that include directives in programs need to be more
specific, e.g. instead of
"#include <aqbanking/transactions.h>"
use
"#include <aqbanking/types/transactions.h>"