mirror of https://github.com/qt/qtdoc.git
27 lines
586 B
C++
27 lines
586 B
C++
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef VIEWERINTERFACES_H
|
|
#define VIEWERINTERFACES_H
|
|
|
|
#include "abstractviewer.h"
|
|
|
|
#include <QtPlugin>
|
|
|
|
//! [header]
|
|
class ViewerInterface : public AbstractViewer
|
|
{
|
|
public:
|
|
virtual ~ViewerInterface() = default;
|
|
};
|
|
//! [header]
|
|
|
|
//! [macros]
|
|
QT_BEGIN_NAMESPACE
|
|
#define ViewerInterface_iid "org.qt-project.Qt.Examples.DocumentViewer.ViewerInterface/1.0"
|
|
Q_DECLARE_INTERFACE(ViewerInterface, ViewerInterface_iid)
|
|
QT_END_NAMESPACE
|
|
//! [macros]
|
|
|
|
#endif //VIEWERINTERFACES_H
|