aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-03-03 22:04:37 +0100
committerGuido Günther <agx@sigxcpu.org>2014-03-05 16:38:53 +0100
commit77c5360d6de8e48b7b64bcbd74e64c02c9b75366 (patch)
tree41c274104238030b67ad1cf8f4e426fcb9d786d6 /src
parent1bd1be7b3f3daa0db7bf9ae210164a3b9616b279 (diff)
Export types via our only public header
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/libplanfahr.c29
-rw-r--r--src/libplanfahr.h10
3 files changed, 9 insertions, 31 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index da5878c..9956d9d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,6 @@ PLANFAHR_HEADER_FILES = \
$(NULL)
PLANFAHR_SOURCE_FILES = \
- libplanfahr.c \
lpf-manager.c \
lpf-provider.c \
lpf-loc.c \
diff --git a/src/libplanfahr.c b/src/libplanfahr.c
deleted file mode 100644
index 219f532..0000000
--- a/src/libplanfahr.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * libplanfahr.c: access public transport time tables
- *
- * Copyright (C) 2014 Guido Günther
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Author: Guido Günther <agx@sigxcpu.org>
- */
-
-#ifndef _LIBPLANFAHR
-#define _LIBPLANFAHR
-
-#include "lpf-manager.h"
-#include "lpf-provider.h"
-
-#endif /* _LIBPLANFAHR */
diff --git a/src/libplanfahr.h b/src/libplanfahr.h
index 8837115..518927a 100644
--- a/src/libplanfahr.h
+++ b/src/libplanfahr.h
@@ -20,6 +20,14 @@
* Author: Guido Günther <agx@sigxcpu.org>
*/
+#ifndef _LIBPLANFAHR
+#define _LIBPLANFAHR
-#include <config.h>
+#include "lpf-loc.h"
+#include "lpf-manager.h"
+#include "lpf-provider.h"
+#include "lpf-stop.h"
+#include "lpf-trip.h"
+#include "lpf-trip-part.h"
+#endif /* _LIBPLANFAHR */