/plugins/keyboard/gsd-keyboard-xkb.h

https://github.com/lcp/gnome-settings-daemon · C Header · 39 lines · 11 code · 6 blank · 22 comment · 0 complexity · 4f20b096d8ab511e76eea0045d5cbaa3 MD5 · raw file

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
  2. * gnome-settings-keyboard-xkb.h
  3. *
  4. * Copyright (C) 2001 Udaltsoft
  5. *
  6. * Written by Sergey V. Oudaltsov <svu@users.sourceforge.net>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2, or (at your option)
  11. * any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  21. * 02111-1307, USA.
  22. */
  23. #ifndef __GSD_KEYBOARD_XKB_H
  24. #define __GSD_KEYBOARD_XKB_H
  25. #include <libxklavier/xklavier.h>
  26. #include "gsd-keyboard-manager.h"
  27. void gsd_keyboard_xkb_init (GsdKeyboardManager *manager);
  28. void gsd_keyboard_xkb_shutdown (void);
  29. typedef void (*PostActivationCallback) (void *userData);
  30. void
  31. gsd_keyboard_xkb_set_post_activation_callback (PostActivationCallback fun,
  32. void *userData);
  33. #endif