author | František Kučera <franta-hg@frantovo.cz> |
Sat, 04 Dec 2021 21:14:50 +0100 | |
branch | v_0 |
changeset 13 | ef067f188b8c |
parent 11 | 3948229234cd |
permissions | -rw-r--r-- |
0 | 1 |
/** |
2 |
* Relational pipes |
|
3 |
* Copyright © 2021 František Kučera (Frantovo.cz, GlobalCode.info) |
|
4 |
* |
|
5 |
* This program is free software: you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation, version 3 of the License. |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
16 |
*/ |
|
17 |
#pragma once |
|
18 |
||
19 |
#include <vector> |
|
20 |
#include <iostream> |
|
21 |
||
22 |
#include <relpipe/common/type/typedefs.h> |
|
23 |
||
24 |
||
25 |
namespace relpipe { |
|
26 |
namespace in { |
|
27 |
namespace x11 { |
|
28 |
||
29 |
class Configuration { |
|
30 |
public: |
|
6
1b17b8cdbfc3
list input devices as default, only if no other option was specified
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
31 |
bool listInputDevices = false; |
1
3bbf848b3565
Configuration + CLIParser + command for listing X11 devices
František Kučera <franta-hg@frantovo.cz>
parents:
0
diff
changeset
|
32 |
bool listInputEvents = false; |
7
039b3f8a3442
list windows: first version, --list-windows
František Kučera <franta-hg@frantovo.cz>
parents:
6
diff
changeset
|
33 |
bool listWindows = false; |
8
b498160cc2ab
list screens: --list-screens + support multiple screens in --list-windows and --list-input-events
František Kučera <franta-hg@frantovo.cz>
parents:
7
diff
changeset
|
34 |
bool listScreens = false; |
0 | 35 |
|
11
3948229234cd
list windows: process (PID): inherit PID recursively from parent if the _NET_WM_PID property is missing
František Kučera <franta-hg@frantovo.cz>
parents:
8
diff
changeset
|
36 |
bool inheritProcessIdInWindowList = true; |
3948229234cd
list windows: process (PID): inherit PID recursively from parent if the _NET_WM_PID property is missing
František Kučera <franta-hg@frantovo.cz>
parents:
8
diff
changeset
|
37 |
|
0 | 38 |
virtual ~Configuration() { |
39 |
} |
|
40 |
}; |
|
41 |
||
42 |
} |
|
43 |
} |
|
44 |
} |