MLBookProc
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
DJVUContext.h
1
/*
2
* Copyright (C) 2026 Yury Bobylev <bobilev_yury@mail.ru>
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation, version 3.
7
*
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License along with
14
* this program. If not, see <https://www.gnu.org/licenses/>.
15
*/
16
#ifndef DJVUCONTEXT_H
17
#define DJVUCONTEXT_H
18
19
#include <condition_variable>
20
#include <libdjvu/ddjvuapi.h>
21
#include <mutex>
22
32
class
DJVUContext
33
{
34
public
:
35
DJVUContext();
36
37
virtual
~DJVUContext();
38
39
DJVUContext(
const
DJVUContext &) =
delete
;
40
41
DJVUContext(DJVUContext &&) =
delete
;
42
46
ddjvu_context_t *
context
;
47
51
std::mutex
context_mtx
;
52
56
std::condition_variable
context_var
;
57
};
58
59
#endif
// DJVUCONTEXT_H
DJVUContext::context_mtx
std::mutex context_mtx
Definition
DJVUContext.h:51
DJVUContext::context
ddjvu_context_t * context
Definition
DJVUContext.h:46
DJVUContext::context_var
std::condition_variable context_var
Definition
DJVUContext.h:56
DJVUContext.h
Generated by
1.17.0