
Configuration is the first step of the lifetime of a context, after creation; it's here where argc/argv is processed, and it's determined what kind of compositor, etc, it is going to be. The tests always run as Wayand compositors, so the configuration is quite simple, but will involve more steps later on. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2019 Red Hat Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
* 02111-1307, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef META_CONTEXT_H
|
|
#define META_CONTEXT_H
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include "meta/common.h"
|
|
|
|
#define META_TYPE_CONTEXT (meta_context_get_type ())
|
|
META_EXPORT
|
|
G_DECLARE_DERIVABLE_TYPE (MetaContext, meta_context, META, CONTEXT, GObject)
|
|
|
|
META_EXPORT
|
|
gboolean meta_context_configure (MetaContext *context,
|
|
int *argc,
|
|
char ***argv,
|
|
GError **error);
|
|
|
|
#endif /* META_CONTEXT_H */
|