File indexing completed on 2025-03-09 03:52:05

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2007-02-11
0007  * Description : a tool to show image using an OpenGL interface.
0008  *
0009  * SPDX-FileCopyrightText: 2007-2008 by Markus Leuthold <kusi at forum dot titlis dot org>
0010  * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 #ifndef DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_TIMER_H
0017 #define DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_TIMER_H
0018 
0019 // Qt includes
0020 
0021 #include <QString>
0022 
0023 namespace DigikamGenericGLViewerPlugin
0024 {
0025 
0026 class GLViewerTimer
0027 {
0028 
0029 public:
0030 
0031     explicit GLViewerTimer();
0032     ~GLViewerTimer();
0033 
0034     void start();
0035     void at(const QString& s);
0036 
0037 private:
0038 
0039     // Disable
0040     GLViewerTimer(const GLViewerTimer&)            = delete;
0041     GLViewerTimer& operator=(const GLViewerTimer&) = delete;
0042 
0043 private:
0044 
0045     class Private;
0046     Private* const d;
0047 };
0048 
0049 } // namespace DigikamGenericGLViewerPlugin
0050 
0051 #endif // DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_TIMER_H