digiKam
glviewertimer.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2007-02-11
7  * Description : a tool to show image using an OpenGL interface.
8  *
9  * Copyright (C) 2007-2008 by Markus Leuthold <kusi at forum dot titlis dot org>
10  * Copyright (C) 2008-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_TIMER_H
25 #define DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_TIMER_H
26 
27 // Qt includes
28 
29 #include <QString>
30 
32 {
33 
35 {
36 
37 public:
38 
39  explicit GLViewerTimer();
41 
42  void start();
43  void at(const QString& s);
44 
45 private:
46 
47  // Disable
48  GLViewerTimer(const GLViewerTimer&) = delete;
49  GLViewerTimer& operator=(const GLViewerTimer&) = delete;
50 
51 private:
52 
53  class Private;
54  Private* const d;
55 };
56 
57 } // namespace DigikamGenericGLViewerPlugin
58 
59 #endif // DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_TIMER_H
Definition: glviewertimer.h:35
void at(const QString &s)
Definition: glviewertimer.cpp:67
~GLViewerTimer()
Definition: glviewertimer.cpp:56
GLViewerTimer()
Definition: glviewertimer.cpp:51
void start()
Definition: glviewertimer.cpp:61
Definition: glviewerglobal.h:35