FreeHandDocument.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libfreehand project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef __FREEHANDDOCUMENT_H__
11#define __FREEHANDDOCUMENT_H__
12
13#include <librevenge/librevenge.h>
14
15#ifdef DLL_EXPORT
16#ifdef LIBFREEHAND_BUILD
17#define FHAPI __declspec(dllexport)
18#else
19#define FHAPI __declspec(dllimport)
20#endif
21#else // !DLL_EXPORT
22#ifdef LIBFREEHAND_VISIBILITY
23#define FHAPI __attribute__((visibility("default")))
24#else
25#define FHAPI
26#endif
27#endif
28
29namespace libfreehand
30{
32{
33public:
34
35 static FHAPI bool isSupported(librevenge::RVNGInputStream *input);
36
37 static FHAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
38};
39
40} // namespace libfreehand
41
42#endif // __FHRAPHICS_H__
43/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
#define FHAPI
Definition FreeHandDocument.h:25
Definition FreeHandDocument.h:32
static FHAPI bool isSupported(librevenge::RVNGInputStream *input)
Analyzes the content of an input stream to see if it can be parsed.
Definition FreeHandDocument.cpp:77
static FHAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
Parses the input stream content.
Definition FreeHandDocument.cpp:106
Definition FHCollector.h:23

Generated for libfreehand by doxygen 1.18.0