Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
gtk-test-helpers.hh
Go to the documentation of this file.
1/*
2 * Scroom - Generic viewer for 2D data
3 * Copyright (C) 2009-2026 Kees-Jan Dijkzeul
4 *
5 * SPDX-License-Identifier: LGPL-2.1
6 */
7
8#pragma once
9
10#include <thread>
11
13{
15 {
16 private:
17 std::thread gtk_thread;
18
19 public:
21 GtkMainLoop(const GtkMainLoop&) = delete;
26
27 private:
28 static void run_gtk();
29 };
30
31} // namespace Scroom::GtkTestHelpers
Definition gtk-test-helpers.hh:15
std::thread gtk_thread
Definition gtk-test-helpers.hh:17
GtkMainLoop & operator=(GtkMainLoop &&)=delete
~GtkMainLoop()
Definition gtk-test-helpers.cc:13
GtkMainLoop()
Definition gtk-test-helpers.cc:8
GtkMainLoop(GtkMainLoop &&)=delete
GtkMainLoop & operator=(const GtkMainLoop &)=delete
static void run_gtk()
Definition gtk-test-helpers.cc:19
GtkMainLoop(const GtkMainLoop &)=delete
Definition gtk-test-helpers.hh:13