From: martin-s Date: Sat, 3 Jan 2009 19:08:58 +0000 (+0000) Subject: Fix:vehicle_pipe:Made working with ondemand X-Git-Tag: navit-0.5.0.5194svn~3275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72d31f08a99989998f24bb2915e7b9d4019b1491;p=profile%2Fivi%2Fnavit.git Fix:vehicle_pipe:Made working with ondemand git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1883 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/vehicle/file/Makefile.am b/navit/navit/vehicle/file/Makefile.am index 51064ad..9407f58 100644 --- a/navit/navit/vehicle/file/Makefile.am +++ b/navit/navit/vehicle/file/Makefile.am @@ -1,4 +1,7 @@ include $(top_srcdir)/Makefile.inc -AM_CPPFLAGS = @NAVIT_CFLAGS@ -I$(top_srcdir)/navit -DMODULE=vehicle_file -modulevehicle_LTLIBRARIES = libvehicle_file.la +AM_CPPFLAGS = @NAVIT_CFLAGS@ -I$(top_srcdir)/navit +modulevehicle_LTLIBRARIES = libvehicle_file.la libvehicle_pipe.la +libvehicle_file_la_CFLAGS=-DMODULE=vehicle_file libvehicle_file_la_SOURCES = vehicle_file.c +libvehicle_pipe_la_CFLAGS=-DMODULE=vehicle_pipe +libvehicle_pipe_la_SOURCES = vehicle_pipe.c diff --git a/navit/navit/vehicle/file/vehicle_pipe.c b/navit/navit/vehicle/file/vehicle_pipe.c new file mode 100644 index 0000000..0750ede --- /dev/null +++ b/navit/navit/vehicle/file/vehicle_pipe.c @@ -0,0 +1,27 @@ +/** + * 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 "config.h" +#include "plugin.h" + +void +plugin_init(void) +{ + plugin_get_vehicle_type("file"); +}