[evolution-kolab/ek-wip-xfb: 3/8] libekolabutil: new header (for defs)



commit 22ee5a0961af302ad1dcdf4c8dda24c34796c16a
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Tue Oct 23 10:49:20 2012 +0200

    libekolabutil: new header (for defs)
    
    * added new header file
    * added path sepatator definitions
      (same as in the collection backend,
      to be removed there)

 src/libekolabutil/Makefile.am  |    9 ++++---
 src/libekolabutil/kolab-util.h |   42 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 4 deletions(-)
---
diff --git a/src/libekolabutil/Makefile.am b/src/libekolabutil/Makefile.am
index ec321ef..a1ae2e2 100644
--- a/src/libekolabutil/Makefile.am
+++ b/src/libekolabutil/Makefile.am
@@ -18,6 +18,7 @@ AM_CPPFLAGS =				\
 	$(KOLAB_INCLUDE)
 
 libekolabutil_la_SOURCES =		\
+	camel-kolab-stream.c		\
 	kolab-util-cal-freebusy.c	\
 	kolab-util-camel.c		\
 	kolab-util-glib.c		\
@@ -26,10 +27,11 @@ libekolabutil_la_SOURCES =		\
 	kolab-util-error.c		\
 	kolab-util-folder.c		\
 	kolab-util-kconv.c		\
-	kolab-util-sqlite.c		\
-	camel-kolab-stream.c
+	kolab-util-sqlite.c
 
 noinst_HEADERS =			\
+	camel-kolab-stream.h		\
+	camel-system-headers.h		\
 	kolab-util-cal-freebusy.h	\
 	kolab-util-camel.h		\
 	kolab-util-glib.h		\
@@ -39,8 +41,7 @@ noinst_HEADERS =			\
 	kolab-util-folder.h		\
 	kolab-util-kconv.h		\
 	kolab-util-sqlite.h		\
-	camel-kolab-stream.h		\
-	camel-system-headers.h
+	kolab-util.h
 
 libekolabutil_la_LIBADD =		\
 	$(CAMEL_LIBS)			\
diff --git a/src/libekolabutil/kolab-util.h b/src/libekolabutil/kolab-util.h
new file mode 100644
index 0000000..017cd58
--- /dev/null
+++ b/src/libekolabutil/kolab-util.h
@@ -0,0 +1,42 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/***************************************************************************
+ *            kolab-util.h
+ *
+ *  Tue Oct 23 10:32:23 2012
+ *  Copyright  2012  Christian Hilberg
+ *  <hilberg kernelconcepts de>
+ ****************************************************************************/
+
+/*
+ * This program 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 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser 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
+ */
+
+/*----------------------------------------------------------------------------*/
+
+#ifndef _KOLAB_UTIL_H_
+#define _KOLAB_UTIL_H_
+
+/*----------------------------------------------------------------------------*/
+
+#define KOLAB_PATH_SEPARATOR   '/'
+#define KOLAB_PATH_SEPARATOR_S "/"
+
+/*----------------------------------------------------------------------------*/
+
+/*----------------------------------------------------------------------------*/
+
+#endif /* _KOLAB_UTIL_H_ */
+
+/*----------------------------------------------------------------------------*/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]