summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-11-29 07:48:42 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-11-29 07:48:42 +0100
commitdaa3ecf432d0decf1fdb05703629e94636e393be (patch)
tree82dd1c5c81f83192f46bf3f8dd96c57079d9787d /inc
Initial libabw skeleton
Diffstat (limited to 'inc')
-rw-r--r--inc/Makefile.am1
-rw-r--r--inc/libabw/AbiDocument.h28
-rw-r--r--inc/libabw/Makefile.am3
-rw-r--r--inc/libabw/libabw.h17
4 files changed, 49 insertions, 0 deletions
diff --git a/inc/Makefile.am b/inc/Makefile.am
new file mode 100644
index 0000000..8896a54
--- /dev/null
+++ b/inc/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = libabw
diff --git a/inc/libabw/AbiDocument.h b/inc/libabw/AbiDocument.h
new file mode 100644
index 0000000..2b1495b
--- /dev/null
+++ b/inc/libabw/AbiDocument.h
@@ -0,0 +1,28 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the libabw project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef ABIDOCUMENT_H
+#define ABIDOCUMENT_H
+
+#include <librevenge/librevenge.h>
+
+/**
+This class provides all the functions an application would need to parse
+AbiWord documents.
+*/
+
+class AbiDocument
+{
+public:
+ static bool isFileFormatSupported(librevenge::RVNGInputStream *input);
+ static bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface);
+};
+
+#endif /* ABIDOCUMENT_H */
+/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
diff --git a/inc/libabw/Makefile.am b/inc/libabw/Makefile.am
new file mode 100644
index 0000000..fe91ae1
--- /dev/null
+++ b/inc/libabw/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ libabw.h \
+ AbiDocument.h
diff --git a/inc/libabw/libabw.h b/inc/libabw/libabw.h
new file mode 100644
index 0000000..5122a3b
--- /dev/null
+++ b/inc/libabw/libabw.h
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the libabw project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef LIBABW_H
+#define LIBABW_H
+
+#include "AbiDocument.h"
+
+#endif /* LIBABW_H */
+/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */