Blame inc/libmspub/MSPUBDocument.h

rpm-build 9243a4
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
rpm-build 9243a4
/*
rpm-build 9243a4
 * This file is part of the libmspub project.
rpm-build 9243a4
 *
rpm-build 9243a4
 * This Source Code Form is subject to the terms of the Mozilla Public
rpm-build 9243a4
 * License, v. 2.0. If a copy of the MPL was not distributed with this
rpm-build 9243a4
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
rpm-build 9243a4
 */
rpm-build 9243a4
rpm-build 9243a4
#ifndef INCLUDED_INC_LIBMSPUB_MSPUBDOCUMENT_H
rpm-build 9243a4
#define INCLUDED_INC_LIBMSPUB_MSPUBDOCUMENT_H
rpm-build 9243a4
rpm-build 9243a4
#include <librevenge/librevenge.h>
rpm-build 9243a4
rpm-build 9243a4
#ifdef DLL_EXPORT
rpm-build 9243a4
#ifdef LIBMSPUB_BUILD
rpm-build 9243a4
#define PUBAPI __declspec(dllexport)
rpm-build 9243a4
#else
rpm-build 9243a4
#define PUBAPI __declspec(dllimport)
rpm-build 9243a4
#endif
rpm-build 9243a4
#else // !DLL_EXPORT
rpm-build 9243a4
#ifdef LIBMSPUB_VISIBILITY
rpm-build 9243a4
#define PUBAPI __attribute__((visibility("default")))
rpm-build 9243a4
#else
rpm-build 9243a4
#define PUBAPI
rpm-build 9243a4
#endif
rpm-build 9243a4
#endif
rpm-build 9243a4
rpm-build 9243a4
namespace libmspub
rpm-build 9243a4
{
rpm-build 9243a4
class MSPUBDocument
rpm-build 9243a4
{
rpm-build 9243a4
public:
rpm-build 9243a4
rpm-build 9243a4
  static PUBAPI bool isSupported(librevenge::RVNGInputStream *input);
rpm-build 9243a4
rpm-build 9243a4
  static PUBAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
rpm-build 9243a4
};
rpm-build 9243a4
rpm-build 9243a4
} // namespace libmspub
rpm-build 9243a4
rpm-build 9243a4
#endif //  INCLUDED_INC_LIBMSPUB_MSPUBDOCUMENT_H
rpm-build 9243a4
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */