CDRDocument.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /*
00003  * This file is part of the libcdr project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  */
00009 
00010 #ifndef __CDRDOCUMENT_H__
00011 #define __CDRDOCUMENT_H__
00012 
00013 #include <librevenge/librevenge.h>
00014 #include "libcdr_api.h"
00015 
00016 namespace libcdr
00017 {
00018 class CDRDocument
00019 {
00020 public:
00021 
00022   static CDRAPI bool isSupported(librevenge::RVNGInputStream *input);
00023 
00024   static CDRAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
00025 };
00026 
00027 } // namespace libcdr
00028 
00029 #endif //  __CDRDOCUMENT_H__
00030 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */