CDRDocument.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 libcdr 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 __CDRDOCUMENT_H__
11 #define __CDRDOCUMENT_H__
12 
13 #include <librevenge/librevenge.h>
14 #include "libcdr_api.h"
15 
16 namespace libcdr
17 {
19 {
20 public:
21 
22  static CDRAPI bool isSupported(librevenge::RVNGInputStream *input);
23 
24  static CDRAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
25 };
26 
27 } // namespace libcdr
28 
29 #endif // __CDRDOCUMENT_H__
30 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
static CDRAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
Parses the input stream content.
Definition: CDRDocument.cpp:108
Definition: CDRDocument.h:18
static CDRAPI bool isSupported(librevenge::RVNGInputStream *input)
Analyzes the content of an input stream to see if it can be parsed.
Definition: CDRDocument.cpp:62
#define CDRAPI
Definition: libcdr_api.h:23

Generated for libcdr by doxygen 1.8.5