Add:gui/directfb:first add of directFB gui
authorOmegA_MRS <OmegA_MRS@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 1 Sep 2008 15:43:26 +0000 (15:43 +0000)
committerOmegA_MRS <OmegA_MRS@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 1 Sep 2008 15:43:26 +0000 (15:43 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1355 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/gui/directfb/Makefile.am [new file with mode: 0644]
navit/navit/gui/directfb/Makefile.in [new file with mode: 0644]
navit/navit/gui/directfb/gui_directfb.c [new file with mode: 0644]
navit/navit/gui/directfb/gui_directfb.h [new file with mode: 0644]

diff --git a/navit/navit/gui/directfb/Makefile.am b/navit/navit/gui/directfb/Makefile.am
new file mode 100644 (file)
index 0000000..7d45c11
--- /dev/null
@@ -0,0 +1,5 @@
+include $(top_srcdir)/Makefile.inc
+AM_CPPFLAGS = -I$(top_srcdir)/navit @NAVIT_CFLAGS@ @DIRECTFB_CFLAGS@ -DMODULE=gui_directfb
+modulegui_LTLIBRARIES = libgui_directfb.la
+libgui_directfb_la_SOURCES = gui_directfb.c gui_directfb.h
+libgui_directfb_la_LIBADD = @DIRECTFB_LIBS@
diff --git a/navit/navit/gui/directfb/Makefile.in b/navit/navit/gui/directfb/Makefile.in
new file mode 100644 (file)
index 0000000..da29e48
--- /dev/null
@@ -0,0 +1,571 @@
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/Makefile.inc
+subdir = navit/gui/directfb
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
+       $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \
+       $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \
+       $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \
+       $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \
+       $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \
+       $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
+       $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \
+       $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \
+       $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \
+       $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \
+       $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
+       $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
+       $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
+       $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(moduleguidir)"
+moduleguiLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(modulegui_LTLIBRARIES)
+libgui_directfb_la_DEPENDENCIES =
+am_libgui_directfb_la_OBJECTS = gui_directfb.lo
+libgui_directfb_la_OBJECTS = $(am_libgui_directfb_la_OBJECTS)
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
+SOURCES = $(libgui_directfb_la_SOURCES)
+DIST_SOURCES = $(libgui_directfb_la_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALLOCA = @ALLOCA@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
+CATOBJEXT = @CATOBJEXT@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CCLD_FOR_BUILD = @CCLD_FOR_BUILD@
+CC_FOR_BUILD = @CC_FOR_BUILD@
+CEGUI_CFLAGS = @CEGUI_CFLAGS@
+CEGUI_LIBS = @CEGUI_LIBS@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DATADIRNAME = @DATADIRNAME@
+DBUS_CFLAGS = @DBUS_CFLAGS@
+DBUS_LIBS = @DBUS_LIBS@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DIRECTFB_CFLAGS = @DIRECTFB_CFLAGS@
+DIRECTFB_LIBS = @DIRECTFB_LIBS@
+DSYMUTIL = @DSYMUTIL@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
+FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
+FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@
+FREETYPE2_LIBS = @FREETYPE2_LIBS@
+GENCAT = @GENCAT@
+GLC_CFLAGS = @GLC_CFLAGS@
+GLC_LIBS = @GLC_LIBS@
+GLIBC21 = @GLIBC21@
+GMSGFMT = @GMSGFMT@
+GPSD_CFLAGS = @GPSD_CFLAGS@
+GPSD_LIBS = @GPSD_LIBS@
+GREP = @GREP@
+GTK2_CFLAGS = @GTK2_CFLAGS@
+GTK2_LIBS = @GTK2_LIBS@
+GYPSY_CFLAGS = @GYPSY_CFLAGS@
+GYPSY_LIBS = @GYPSY_LIBS@
+HAVE_ASPRINTF = @HAVE_ASPRINTF@
+HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
+HAVE_SNPRINTF = @HAVE_SNPRINTF@
+HAVE_WPRINTF = @HAVE_WPRINTF@
+HILDON_CFLAGS = @HILDON_CFLAGS@
+HILDON_LIBS = @HILDON_LIBS@
+IMLIB2_CFLAGS = @IMLIB2_CFLAGS@
+IMLIB2_LIBS = @IMLIB2_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INSTOBJEXT = @INSTOBJEXT@
+INTLBISON = @INTLBISON@
+INTLIBS = @INTLIBS@
+INTLLIBS = @INTLLIBS@
+INTLOBJS = @INTLOBJS@
+INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
+KSVGTOPNG = @KSVGTOPNG@
+LDFLAGS = @LDFLAGS@
+LIBGARMIN_CFLAGS = @LIBGARMIN_CFLAGS@
+LIBGARMIN_LIBS = @LIBGARMIN_LIBS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MKINSTALLDIRS = @MKINSTALLDIRS@
+MOFILES = @MOFILES@
+MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
+NAVIT_CFLAGS = @NAVIT_CFLAGS@
+NAVIT_LIBS = @NAVIT_LIBS@
+NMEDIT = @NMEDIT@
+OBJEXT = @OBJEXT@
+OPENGL_CFLAGS = @OPENGL_CFLAGS@
+OPENGL_LIBS = @OPENGL_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PG_CONFIG = @PG_CONFIG@
+PKG_CONFIG = @PKG_CONFIG@
+POFILES = @POFILES@
+POSTGRESQL_CFLAGS = @POSTGRESQL_CFLAGS@
+POSTGRESQL_LIBS = @POSTGRESQL_LIBS@
+POSUB = @POSUB@
+PYTHON_CFLAGS = @PYTHON_CFLAGS@
+PYTHON_LIBS = @PYTHON_LIBS@
+QT_GUI_CFLAGS = @QT_GUI_CFLAGS@
+QT_GUI_LIBS = @QT_GUI_LIBS@
+RANLIB = @RANLIB@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@
+SDL_LIBS = @SDL_LIBS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SPEECHD_CFLAGS = @SPEECHD_CFLAGS@
+SPEECHD_LIBS = @SPEECHD_LIBS@
+STRIP = @STRIP@
+SVG2PNG_SCALES = @SVG2PNG_SCALES@
+USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+ZLIB_LIBS = @ZLIB_LIBS@
+_PATH_PYTHON = @_PATH_PYTHON@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cross_compiling = @cross_compiling@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+enable_hildon_CFLAGS = @enable_hildon_CFLAGS@
+enable_hildon_LIBS = @enable_hildon_LIBS@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+modulebindingdir = $(pkglibdir)/binding
+moduledatadir = $(pkglibdir)/data
+modulegraphicsdir = $(pkglibdir)/graphics
+moduleguidir = $(pkglibdir)/gui
+modulespeechdir = $(pkglibdir)/speech
+moduleosddir = $(pkglibdir)/osd
+modulevehicledir = $(pkglibdir)/vehicle
+pkgdocdir = $(pkgdatadir)
+xpmdir = $(pkgdatadir)/xpm
+mapsdir = $(pkgdatadir)/maps
+AM_CPPFLAGS = -I$(top_srcdir)/navit @NAVIT_CFLAGS@ @DIRECTFB_CFLAGS@ -DMODULE=gui_directfb
+modulegui_LTLIBRARIES = libgui_directfb.la
+libgui_directfb_la_SOURCES = gui_directfb.c gui_directfb.h
+libgui_directfb_la_LIBADD = @DIRECTFB_LIBS@
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.inc $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+               && exit 0; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  navit/gui/directfb/Makefile'; \
+       cd $(top_srcdir) && \
+         $(AUTOMAKE) --foreign  navit/gui/directfb/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+       esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-moduleguiLTLIBRARIES: $(modulegui_LTLIBRARIES)
+       @$(NORMAL_INSTALL)
+       test -z "$(moduleguidir)" || $(MKDIR_P) "$(DESTDIR)$(moduleguidir)"
+       @list='$(modulegui_LTLIBRARIES)'; for p in $$list; do \
+         if test -f $$p; then \
+           f=$(am__strip_dir) \
+           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(moduleguiLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(moduleguidir)/$$f'"; \
+           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(moduleguiLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(moduleguidir)/$$f"; \
+         else :; fi; \
+       done
+
+uninstall-moduleguiLTLIBRARIES:
+       @$(NORMAL_UNINSTALL)
+       @list='$(modulegui_LTLIBRARIES)'; for p in $$list; do \
+         p=$(am__strip_dir) \
+         echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(moduleguidir)/$$p'"; \
+         $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(moduleguidir)/$$p"; \
+       done
+
+clean-moduleguiLTLIBRARIES:
+       -test -z "$(modulegui_LTLIBRARIES)" || rm -f $(modulegui_LTLIBRARIES)
+       @list='$(modulegui_LTLIBRARIES)'; for p in $$list; do \
+         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+         test "$$dir" != "$$p" || dir=.; \
+         echo "rm -f \"$${dir}/so_locations\""; \
+         rm -f "$${dir}/so_locations"; \
+       done
+libgui_directfb.la: $(libgui_directfb_la_OBJECTS) $(libgui_directfb_la_DEPENDENCIES) 
+       $(LINK) -rpath $(moduleguidir) $(libgui_directfb_la_OBJECTS) $(libgui_directfb_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+       -rm -f *.$(OBJEXT)
+
+distclean-compile:
+       -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_directfb.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@   mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+       -rm -f *.lo
+
+clean-libtool:
+       -rm -rf .libs _libs
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+         test -n "$$unique" || unique=$$empty_fix; \
+         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+           $$tags $$unique; \
+       fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       tags=; \
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+       unique=`for i in $$list; do \
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+         done | \
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
+       test -z "$(CTAGS_ARGS)$$tags$$unique" \
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+            $$tags $$unique
+
+GTAGS:
+       here=`$(am__cd) $(top_builddir) && pwd` \
+         && cd $(top_srcdir) \
+         && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+           fi; \
+           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+         else \
+           test -f $(distdir)/$$file \
+           || cp -p $$d/$$file $(distdir)/$$file \
+           || exit 1; \
+         fi; \
+       done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES)
+installdirs:
+       for dir in "$(DESTDIR)$(moduleguidir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+         `test -z '$(STRIP)' || \
+           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-moduleguiLTLIBRARIES \
+       mostlyclean-am
+
+distclean: distclean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+       distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-moduleguiLTLIBRARIES
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+       mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-moduleguiLTLIBRARIES
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+       clean-libtool clean-moduleguiLTLIBRARIES ctags distclean \
+       distclean-compile distclean-generic distclean-libtool \
+       distclean-tags distdir dvi dvi-am html html-am info info-am \
+       install install-am install-data install-data-am install-dvi \
+       install-dvi-am install-exec install-exec-am install-html \
+       install-html-am install-info install-info-am install-man \
+       install-moduleguiLTLIBRARIES install-pdf install-pdf-am \
+       install-ps install-ps-am install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       tags uninstall uninstall-am uninstall-moduleguiLTLIBRARIES
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/navit/navit/gui/directfb/gui_directfb.c b/navit/navit/gui/directfb/gui_directfb.c
new file mode 100644 (file)
index 0000000..261efbf
--- /dev/null
@@ -0,0 +1,369 @@
+/*
+ * Navit, a modular navigation system.
+ * Copyright (C) 2005-2008 Navit Team
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include "glib.h"
+#include <stdio.h>
+#include <libintl.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+//  FIXME temporary fix for enum
+#include "projection.h"
+
+#include "item.h"
+#include "navit.h"
+#include "vehicle.h"   
+#include "profile.h"
+#include "transform.h"
+#include "gui.h"
+#include "coord.h"
+#include "config.h"
+#include "plugin.h"
+#include "callback.h"
+#include "point.h"
+#include "graphics.h"
+#include "gui_directfb.h"
+#include "navigation.h"
+#include "debug.h"
+#include "attr.h"
+#include "track.h"
+#include "menu.h"
+#include "map.h"
+
+
+#include <directfb.h>
+
+
+
+IDirectFBSurface       *DFB_primary_layer_surface__i;
+IDirectFBSurface       *DFB_gui_surface__i;
+IDirectFBSurface       *DFB_graphics_surface__i;
+IDirectFBSurface       *DFB_gui_buttons_surface__i;
+
+IDirectFBFont          *DFB_primary_layer_surface_font__i;
+IDirectFBFont          *DFB_gui_surface_font__i;
+
+IDirectFBWindow        *DFB_gui_window__i;
+IDirectFBWindow        *DFB_graphics_window__i;
+
+static int screen_width  = 0;
+static int screen_height = 0;
+
+struct navit *dfb_gui_navit;
+
+
+
+
+static int run_main_loop(struct gui_priv *this_)
+{
+       int frames;
+
+       fprintf(stderr,"saucïsse !! \n");              
+
+       
+       for(frames=0;frames<100;frames++)
+       {
+               sleep(3);
+               fprintf(stderr,"debug >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>< frame n° %d",frames);                     
+       }
+
+       return 0;
+}
+
+static void vehicle_callback_handler( struct navit *nav, struct vehicle *v){
+
+       fprintf(stderr,"debut vehicle callback\n");     
+
+/*     
+       char buffer [50];
+       struct attr attr;
+       int sats=0, sats_used=0;
+       int err;
+       
+       if (vehicle_get_attr(v, attr_position_speed, &attr))
+               sprintf (buffer, "Speed : %02.02f km/h", *attr.u.numd);
+       else
+               strcpy (buffer, "Speed : N/A");
+       fprintf(stderr,"debug vehicle_callback : %s",buffer);
+       primary->DrawString(primary,buffer,-1,0,50,DSTF_LEFT|DSTF_TOP);
+
+       if (vehicle_get_attr(v, attr_position_height, &attr))
+               sprintf (buffer, "Altimeter : %.f m", *attr.u.numd);
+       else
+               strcpy (buffer, "Altimeter : N/A");
+       fprintf(stderr,"debug vehicle_callback : %s",buffer);
+       primary->DrawString(primary,buffer,-1,0,70,DSTF_LEFT|DSTF_TOP);
+
+       if (vehicle_get_attr(v, attr_position_sats, &attr))
+               sats=attr.u.num;
+       if (vehicle_get_attr(v, attr_position_sats_used, &attr))
+               sats_used=attr.u.num;
+       
+       sprintf(buffer," sats : %i, used %i: \n",sats,sats_used);
+       fprintf(stderr,"debug vehicle_callback : %s",buffer);
+       primary->DrawString(dfbSG,buffer,-1,0,90,DSTF_LEFT|DSTF_TOP);
+       primary->Flip (primary, NULL, DSFLIP_WAITFORSYNC);
+
+*/
+
+}
+
+struct gui_methods gui_dfb_methods = {
+       run_main_loop,
+};
+
+static int
+gui_directfb_set_graphics(struct gui_priv *this, struct graphics *gra)
+{
+       fprintf(stderr,"gui_directfb_set_graphics !!!\n");
+       return 0;
+}
+
+static struct gui_priv *
+gui_directfb_new(struct navit *nav, struct gui_methods *meth, struct attr **attrs) 
+{
+       dbg(1,"Begin DirectFB init\n");
+       
+
+       struct gui_priv *this_;
+       dfb_gui_navit=nav;
+       
+       /* DirectFB specifics */
+       
+       DFBResult                       DFB_ret;
+       IDirectFB                       *DFB_main__i;
+       IDirectFBDisplayLayer           *DFB_primary_layer__i;
+
+       IDirectFBImageProvider          *DFB_zoomin__img;
+       DFBRectangle                    DFB_zoomin_img__zone;
+       
+       DFBDisplayLayerConfig           *DFB_primary_layer__c;
+       DFBWindowDescription            *DFB_graphics_window__d;
+       DFBFontDescription              *DFB_primary_layer_surface_font__d;
+       DFBFontDescription              *DFB_gui_surface_font__d;
+       DFBSurfaceDescription           DFB_gui_buttons_surface__d;
+
+       int                             fontheight;
+
+       //char  *       DFB_argc[];
+
+       /*******DirectFB*******/
+
+
+       if(dfb_gui_navit)
+       {       
+               dbg(1,"VALID navit instance in gui\n");
+       }
+       else
+       {
+               dbg(1,"Invalid navit instance in gui\n");
+       }
+       if(nav)
+       {       
+               dbg(1,"VALID source navit instance in gui\n");
+       }
+       else 
+       {
+               dbg(1,"Invalid source navit instance in gui\n");
+       }
+       
+       *meth=gui_dfb_methods;
+
+       this_=g_new0(struct gui_priv, 1);
+    
+       /* INITIALISATION INTERFACE PRIMAIRE */
+       DFB_ret = DirectFBInit(NULL,NULL);
+       if (DFB_ret != DFB_OK) 
+       {
+               DirectFBError( "DirectFBInit() failed", DFB_ret );
+               return NULL;
+       }
+
+       DFB_ret = DirectFBCreate( &DFB_main__i );
+       if (DFB_ret != DFB_OK) 
+       {
+               DirectFBError( "DirectFBCreate() failed", DFB_ret );
+               return NULL;
+       }
+       
+       
+       DFB_ret = DFB_main__i->GetDisplayLayer( DFB_main__i, DLID_PRIMARY, &DFB_primary_layer__i );
+       if (DFB_ret != DFB_OK) 
+       {
+               D_DERROR( DFB_ret, "IDirectFB::GetDisplayLayer() failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       
+       DFB_ret = DFB_primary_layer__i->SetCooperativeLevel(DFB_primary_layer__i,DLSCL_ADMINISTRATIVE);
+       if (DFB_ret != DFB_OK) 
+       {
+               D_DERROR( DFB_ret, "IDirectFB::SetCooperativeLevel() failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+
+       /* FIN INITIALISATION INTERFACE PRIMAIRE */
+
+       /* CREATION FENETRE GUI SUR INTERFACE PRIMAIRE */
+       DFB_ret = DFB_primary_layer__i->GetSurface(DFB_primary_layer__i,&DFB_gui_surface__i);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBDisplayLayer::GetSurface failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       
+       DFB_primary_layer__c = g_new0(DFBDisplayLayerConfig, 1);
+       DFB_ret = DFB_primary_layer__i->GetConfiguration(DFB_primary_layer__i,DFB_primary_layer__c);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBDisplayLayer::GetConfiguration failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       DFB_primary_layer_surface_font__d = g_new0(DFBFontDescription, 1);
+       DFB_primary_layer_surface_font__d->flags = DFDESC_HEIGHT;
+       DFB_primary_layer_surface_font__d->height = DFB_primary_layer__c->width/50;
+       fprintf(stderr,"debug                                    =============       %d\n",DFB_primary_layer__c->width);
+
+       DFB_ret = DFB_main__i->CreateFont( DFB_main__i, "/usr/share/fonts/truetype/DejaVuSans.ttf", DFB_primary_layer_surface_font__d, &DFB_primary_layer_surface_font__i );
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFB : CreateFont failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       
+       DFB_ret = DFB_main__i->CreateImageProvider(DFB_main__i,"/usr/share/navit/xpm/gui_zoom_in_96_96.png",&DFB_zoomin__img);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFB : CreateImageProvider failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+
+       //DFB_gui_surface__i->SetBlittingFlags(DFB_gui_surface__i,DSBLIT_SRC_COLORKEY);
+       //DFB_gui_surface__i->SetSrcColorKey(DFB_gui_surface__i,0x00,0x00,0x00);
+       DFB_gui_buttons_surface__d.flags = DSDESC_WIDTH|DSDESC_HEIGHT;
+       DFB_gui_buttons_surface__d.width = 48;
+       DFB_gui_buttons_surface__d.height = 48;
+       
+       DFB_ret = DFB_main__i->CreateSurface(DFB_main__i,&DFB_gui_buttons_surface__d,&DFB_gui_buttons_surface__i);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFB : CreateSurface failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+
+       //DFB_primary_layer_surface_font__i->GetHeight( DFB_primary_layer_surface_font__i, &fontheight );
+       
+       DFB_gui_surface__i->SetFont (DFB_gui_surface__i, DFB_primary_layer_surface_font__i);
+       DFB_gui_surface__i->SetColor(DFB_gui_surface__i,0xff,0xff,0xff,0xff);
+       DFB_gui_surface__i->DrawString(DFB_gui_surface__i,"Navit on DirectFB",-1,0,0,DSTF_LEFT|DSTF_TOP);
+       
+       DFB_zoomin_img__zone.x = 0;
+       DFB_zoomin_img__zone.y = 0;
+       DFB_zoomin_img__zone.w = 48;
+       DFB_zoomin_img__zone.h = 48;
+       DFB_zoomin__img->RenderTo(DFB_zoomin__img,DFB_gui_buttons_surface__i,NULL);
+       DFB_gui_surface__i->Blit(DFB_gui_surface__i,DFB_gui_buttons_surface__i,NULL,20,20);
+       
+       
+       DFB_gui_surface__i->Flip(DFB_gui_surface__i,NULL,DSFLIP_NONE);
+       
+       /* FIN CREATION FENETRE GUI SUR INTERFACE PRIMAIRE */
+
+
+       DFB_graphics_window__d = g_new0(DFBWindowDescription, 1);
+       //DFB_graphics_window__d->caps = DWCAPS_NONE;
+       //DFB_graphics_window__d->width = 100;
+       //DFB_graphics_window__d->height = 100;
+       //DFB_graphics_window__d->posy = 10;
+       //DFB_graphics_window__d->posx = 10;
+       DFB_graphics_window__d->stacking = DWSC_UPPER;
+
+       //DFB_graphics_window__d->pixelformat = DSPF_RGB32;
+       //      DFB_graphics_window__d->options = DWOP_KEEP_POSITION;
+
+       DFB_ret = DFB_primary_layer__i->CreateWindow(DFB_primary_layer__i,DFB_graphics_window__d,&DFB_graphics_window__i);
+        if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBDisplayLayer::CreateWindow failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+
+       DFB_ret = DFB_graphics_window__i->Resize(DFB_graphics_window__i,600,400);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBWindow::Resize failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       DFB_ret = DFB_graphics_window__i->MoveTo(DFB_graphics_window__i,20,78);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBWindow::MoveTo failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       
+       DFB_ret = DFB_graphics_window__i->SetOpacity(DFB_graphics_window__i, 0xff );
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBWindow::SetOpacity failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+
+       DFB_ret = DFB_graphics_window__i->GetSurface(DFB_graphics_window__i,&DFB_graphics_surface__i);
+       if (DFB_ret != DFB_OK)
+       {
+               D_DERROR( DFB_ret, "IDirectFBWindow::GetSurface failed!\n" );
+               DFB_main__i->Release(DFB_main__i);
+               return NULL;
+       }
+       
+       fprintf(stderr,"fin new gui\n");        
+       
+       
+       /* add callback for position updates */
+       //struct callback *cb=callback_new_attr_0(callback_cast(vehicle_callback_handler), attr_position_coord_geo);
+       
+       //navit_add_callback(nav,cb);
+       //this_->nav=nav;
+       //return this_;
+       return NULL;
+}
+
+
+void
+plugin_init(void)
+{
+       dbg(1,"registering directfb plugin\n");
+       fprintf(stderr,"registering gui directfb\n");   
+       plugin_register_gui_type("directfb", gui_directfb_new);
+}
+
+
+
+
diff --git a/navit/navit/gui/directfb/gui_directfb.h b/navit/navit/gui/directfb/gui_directfb.h
new file mode 100644 (file)
index 0000000..5df6ac2
--- /dev/null
@@ -0,0 +1,41 @@
+
+/**
+ * Navit, a modular navigation system.
+ * Copyright (C) 2005-2008 Navit Team
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+
+
+
+
+
+
+
+
+struct menu_methods;
+struct navit;
+
+
+extern struct navit *dfb_gui_navit;
+
+struct gui_priv {
+       struct navit *nav;
+       int dyn_counter;
+};
+
+
+