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