diff options
author | David Tardon <dtardon@redhat.com> | 2016-02-21 06:29:53 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-02-21 15:33:11 +0100 |
commit | 3d1ee31b29ea0109330f8211ea65b22b6ba6aae0 (patch) | |
tree | 483ea455241785df6eae1b3684de4aaf13eb808f /inc | |
parent | b9d8139d0c339f7c1f2d3d1e6d9942aa80178cb0 (diff) |
rename project
Diffstat (limited to 'inc')
-rw-r--r-- | inc/Makefile.am | 2 | ||||
-rw-r--r-- | inc/libsw602/Makefile.am | 3 | ||||
-rw-r--r-- | inc/libsw602/Software602Document.h | 42 | ||||
-rw-r--r-- | inc/libsw602/libsw602.h (renamed from inc/libtext602/libtext602.h) | 10 | ||||
-rw-r--r-- | inc/libtext602/Makefile.am | 3 | ||||
-rw-r--r-- | inc/libtext602/WT602Document.h | 42 |
6 files changed, 51 insertions, 51 deletions
diff --git a/inc/Makefile.am b/inc/Makefile.am index b445256..25a52ba 100644 --- a/inc/Makefile.am +++ b/inc/Makefile.am @@ -1 +1 @@ -SUBDIRS = libtext602 +SUBDIRS = libsw602 diff --git a/inc/libsw602/Makefile.am b/inc/libsw602/Makefile.am new file mode 100644 index 0000000..97238a2 --- /dev/null +++ b/inc/libsw602/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + libsw602.h \ + Software602Document.h diff --git a/inc/libsw602/Software602Document.h b/inc/libsw602/Software602Document.h new file mode 100644 index 0000000..2f014a6 --- /dev/null +++ b/inc/libsw602/Software602Document.h @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* + * This file is part of the libsw602 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 LIBSW602_SOFTWARE602DOCUMENT_H_INCLUDED +#define LIBSW602_SOFTWARE602DOCUMENT_H_INCLUDED + +#include <librevenge/librevenge.h> + +#ifdef DLL_EXPORT +#ifdef LIBSW602_BUILD +#define SW602API __declspec(dllexport) +#else +#define SW602API __declspec(dllimport) +#endif +#else // !DLL_EXPORT +#ifdef LIBSW602_VISIBILITY +#define SW602API __attribute__((visibility("default"))) +#else +#define SW602API +#endif +#endif + +namespace libsw602 +{ + +class Software602Document +{ +public: + static SW602API bool isSupported(librevenge::RVNGInputStream *input); + static SW602API bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document); +}; + +} // namespace libsw602 + +#endif // LIBSW602_SOFTWARE602DOCUMENT_H_INCLUDED +/* vim:set shiftwidth=2 softtabstop=2 expandtab: */ diff --git a/inc/libtext602/libtext602.h b/inc/libsw602/libsw602.h index 70ea85e..766cefc 100644 --- a/inc/libtext602/libtext602.h +++ b/inc/libsw602/libsw602.h @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* - * This file is part of the libtext602 project. + * This file is part of the libsw602 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 LIBTEXT602_LIBTEXT602_H_INCLUDED -#define LIBTEXT602_LIBTEXT602_H_INCLUDED +#ifndef LIBSW602_LIBSW602_H_INCLUDED +#define LIBSW602_LIBSW602_H_INCLUDED -#include "WT602Document.h" +#include "Software602Document.h" -#endif // LIBTEXT602_LIBTEXT602_H_INCLUDED +#endif // LIBSW602_LIBSW602_H_INCLUDED /* vim:set shiftwidth=2 softtabstop=2 expandtab: */ diff --git a/inc/libtext602/Makefile.am b/inc/libtext602/Makefile.am deleted file mode 100644 index 59e55f1..0000000 --- a/inc/libtext602/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -EXTRA_DIST = \ - libtext602.h \ - WT602Document.h diff --git a/inc/libtext602/WT602Document.h b/inc/libtext602/WT602Document.h deleted file mode 100644 index fe8033d..0000000 --- a/inc/libtext602/WT602Document.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* - * This file is part of the libtext602 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 LIBTEXT602_WT602DOCUMENT_H_INCLUDED -#define LIBTEXT602_WT602DOCUMENT_H_INCLUDED - -#include <librevenge/librevenge.h> - -#ifdef DLL_EXPORT -#ifdef LIBTEXT602_BUILD -#define TEXT602API __declspec(dllexport) -#else -#define TEXT602API __declspec(dllimport) -#endif -#else // !DLL_EXPORT -#ifdef LIBTEXT602_VISIBILITY -#define TEXT602API __attribute__((visibility("default"))) -#else -#define TEXT602API -#endif -#endif - -namespace libtext602 -{ - -class WT602Document -{ -public: - static TEXT602API bool isSupported(librevenge::RVNGInputStream *input); - static TEXT602API bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document); -}; - -} // namespace libtext602 - -#endif // LIBTEXT602_WT602DOCUMENT_H_INCLUDED -/* vim:set shiftwidth=2 softtabstop=2 expandtab: */ |