File indexing completed on 2024-05-12 15:56:39

0001 /* This file is part of the KDE project
0002  *
0003  * SPDX-FileCopyrightText: 2009 Boudewijn Rempt <boud@valdyas.org>
0004  *
0005  * SPDX-License-Identifier: LGPL-2.0-or-later
0006  */
0007 #ifndef KOCANVASSUPERVISOR_H
0008 #define KOCANVASSUPERVISOR_H
0009 
0010 #include <QList>
0011 
0012 #include "kritaflake_export.h"
0013 
0014 class KoCanvasObserverBase;
0015 
0016 /**
0017  * KoCanvasSupervisor is an abstract class that can return a
0018  * list of canvas observers, such as dock widgets.
0019  */
0020 class KRITAFLAKE_EXPORT KoCanvasSupervisor
0021 {
0022 public:
0023     KoCanvasSupervisor();
0024     virtual ~KoCanvasSupervisor();
0025     virtual QList<KoCanvasObserverBase*> canvasObservers() const = 0;
0026 };
0027 
0028 #endif