2
* Copyright © 2001 Red Hat, Inc.
4
* Permission to use, copy, modify, distribute, and sell this software and its
5
* documentation for any purpose is hereby granted without fee, provided that
6
* the above copyright notice appear in all copies and that both that
7
* copyright notice and this permission notice appear in supporting
8
* documentation, and that the name of Red Hat not be used in advertising or
9
* publicity pertaining to distribution of the software without specific,
10
* written prior permission. Red Hat makes no representations about the
11
* suitability of this software for any purpose. It is provided "as is"
12
* without express or implied warranty.
14
* RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
15
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT
16
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
17
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
18
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
19
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21
* Author: Owen Taylor, Red Hat, Inc.
23
#ifndef XSETTINGS_MANAGER_H
24
#define XSETTINGS_MANAGER_H
27
#include "xsettings-common.h"
31
#endif /* __cplusplus */
33
typedef struct _XSettingsManager XSettingsManager;
35
typedef void (*XSettingsTerminateFunc) (void *cb_data);
37
Bool xsettings_manager_check_running (Display *display,
40
XSettingsManager *xsettings_manager_new (Display *display,
42
XSettingsTerminateFunc terminate,
45
void xsettings_manager_destroy (XSettingsManager *manager);
46
Window xsettings_manager_get_window (XSettingsManager *manager);
47
Bool xsettings_manager_process_event (XSettingsManager *manager,
50
XSettingsResult xsettings_manager_delete_setting (XSettingsManager *manager,
52
XSettingsResult xsettings_manager_set_setting (XSettingsManager *manager,
53
XSettingsSetting *setting);
54
XSettingsResult xsettings_manager_set_int (XSettingsManager *manager,
57
XSettingsResult xsettings_manager_set_string (XSettingsManager *manager,
60
XSettingsResult xsettings_manager_set_color (XSettingsManager *manager,
62
XSettingsColor *value);
63
XSettingsResult xsettings_manager_notify (XSettingsManager *manager);
69
#endif /* __cplusplus */
71
#endif /* XSETTINGS_MANAGER_H */