Desktop

/* $Id: keyboard.h,v 1.3 2010/07/25 20:23:04 khorben Exp $ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Keyboard */
/* 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, version 3 of the License.
*
* 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 KEYBOARD_KEYBOARD_H
# define KEYBOARD_KEYBOARD_H
# include <gtk/gtk.h>
/* Keyboard */
/* types */
typedef struct _Keyboard Keyboard;
typedef struct _KeyboardPrefs
{
int monitor;
} KeyboardPrefs;
typedef enum _KeyboardCase { KC_LOWER, KC_UPPER } KeyboardCase;
/* functions */
Keyboard * keyboard_new(KeyboardPrefs * prefs);
void keyboard_delete(Keyboard * keyboard);
/* accessors */
void keyboard_set_case(Keyboard * keyboard, KeyboardCase kcase);
/* useful */
void keyboard_show(Keyboard * keyboard, gboolean show);
#endif /* !KEYBOARD_KEYBOARD_H */