8826b29329
Ready means it has established the connection to colord and can operate. Will be used by tests to make sure tests don't fail due to race conditions when connecting to colord. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2021 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, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef META_COLOR_MANAGER_PRIVATE_H
|
|
#define META_COLOR_MANAGER_PRIVATE_H
|
|
|
|
#include <colord.h>
|
|
|
|
#include "backends/meta-color-manager.h"
|
|
|
|
struct _MetaColorManagerClass
|
|
{
|
|
GObjectClass parent_class;
|
|
};
|
|
|
|
CdClient * meta_color_manager_get_cd_client (MetaColorManager *color_manager);
|
|
|
|
META_EXPORT_TEST
|
|
gboolean meta_color_manager_is_ready (MetaColorManager *color_manager);
|
|
|
|
#endif /* META_COLOR_MANAGER_PRIVATE_H */
|