Ticket #47054: patch-class-visibility-for-dynamic_cast.diff

File patch-class-visibility-for-dynamic_cast.diff, 938 bytes (added by RJVB (René Bertin), 10 years ago)
  • interfaces/viewerinterface.h

    diff --git interfaces/viewerinterface.h interfaces/viewerinterface.h
    index c3de2e9..1418c60 100644
    namespace Okular { 
    2323 * This interface can be used to control some more or less advanced features of a document
    2424 * viewer.
    2525 */
    26 class ViewerInterface
     26class OKULAR_EXPORT ViewerInterface
    2727{
    2828    public:
    2929        virtual ~ViewerInterface() {}
  • kdocumentviewer.h

    diff --git kdocumentviewer.h kdocumentviewer.h
    index 2f77610..360ed42 100644
     
    1010#ifndef _KDOCUMENTVIEWER_H_
    1111#define _KDOCUMENTVIEWER_H_
    1212
     13#include "core/okular_export.h"
     14
    1315#include <QtCore/QStringList>
    1416
    1517class KUrl;
    class KUrl; 
    1921 *
    2022 * This interface describe briefly the basic functions of a document viewer.
    2123 */
    22 class KDocumentViewer
     24class OKULAR_EXPORT KDocumentViewer
    2325{
    2426    public:
    2527        virtual ~KDocumentViewer() {}