1 /* mutter.h - implements the DBUS interface to mutter
3 Copyright 2020 Red Hat, Inc.
6 Julien Ropé <jrope@redhat.com>
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef SRC_VDAGENT_MUTTER_H_
23 #define SRC_VDAGENT_MUTTER_H_
25 typedef struct VDAgentMutterDBus VDAgentMutterDBus
;
27 VDAgentMutterDBus
*vdagent_mutter_create(GHashTable
*connector_mapping
);
28 void vdagent_mutter_destroy(VDAgentMutterDBus
*mutter
);
30 GArray
*vdagent_mutter_get_resolutions(VDAgentMutterDBus
*mutter
, int *width
, int *height
, int *screen_count
);
33 #endif /* SRC_VDAGENT_MUTTER_H_ */