45e9809aff7304721fddb95654901b32195c9c7avboxsync/*
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Copyright 2002 Red Hat Inc., Durham, North Carolina.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * All Rights Reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Permission is hereby granted, free of charge, to any person obtaining
45e9809aff7304721fddb95654901b32195c9c7avboxsync * a copy of this software and associated documentation files (the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * "Software"), to deal in the Software without restriction, including
45e9809aff7304721fddb95654901b32195c9c7avboxsync * without limitation on the rights to use, copy, modify, merge,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * and to permit persons to whom the Software is furnished to do so,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * subject to the following conditions:
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * The above copyright notice and this permission notice (including the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * next paragraph) shall be included in all copies or substantial
45e9809aff7304721fddb95654901b32195c9c7avboxsync * portions of the Software.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45e9809aff7304721fddb95654901b32195c9c7avboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
45e9809aff7304721fddb95654901b32195c9c7avboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
45e9809aff7304721fddb95654901b32195c9c7avboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
45e9809aff7304721fddb95654901b32195c9c7avboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45e9809aff7304721fddb95654901b32195c9c7avboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45e9809aff7304721fddb95654901b32195c9c7avboxsync * SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/*
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Authors:
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Rickard E. (Rik) Faith <faith@redhat.com>
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/** \file
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Interface for DMX configuration file support. \see dmxconfig.c */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef _DMXCONFIG_H_
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define _DMXCONFIG_H_
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DMX_DEFAULT_XKB_RULES "xfree86"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DMX_DEFAULT_XKB_MODEL "pc101"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DMX_DEFAULT_XKB_LAYOUT "us"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DMX_DEFAULT_XKB_VARIANT NULL
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define DMX_DEFAULT_XKB_OPTIONS NULL
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigStoreDisplay(const char *display);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigStoreInput(const char *input); /* Core devices */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigStoreXInput(const char *input); /* Non-core devices */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigStoreFile(const char *file);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigStoreConfig(const char *config);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigConfigure(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigSetMaxScreens(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigSetXkbRules(const char *rules);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigSetXkbModel(const char *model);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigSetXkbLayout(const char *layout);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigSetXkbVariant(const char *variant);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void dmxConfigSetXkbOptions(const char *options);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern char *dmxConfigGetXkbRules(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern char *dmxConfigGetXkbModel(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern char *dmxConfigGetXkbLayout(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern char *dmxConfigGetXkbVariant(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern char *dmxConfigGetXkbOptions(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif