/usr/include/florence-1.0/florence.h is in libflorence-1.0-dev 0.6.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*
* florence - Florence is a simple virtual keyboard for Gnome.
* Copyright (C) 2012-2013 François Agrech
* 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; either version 2, or (at your option)
* any later version.
* 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, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef LIB_FLORENCE
#define LIB_FLORENCE
typedef enum { FLORENCE_FAIL=0, FLORENCE_SUCCESS, FLORENCE_TIMEOUT } florence_error;
typedef enum { FLORENCE_TERMINATE, FLORENCE_SHOW, FLORENCE_HIDE, FLORENCE_SIGNALS_NB } florence_signal;
typedef void (*florence_signal_cb)(void *user_data);
/* Initialize the dbus connection */
florence_error florence_init();
/* Free memory */
florence_error florence_exit();
/* Show the keyboard */
florence_error florence_show();
/* Hide the keyboard */
florence_error florence_hide();
/* Toggle the keyboard (show/hide) */
florence_error florence_toggle();
/* Move the keyboard */
florence_error florence_move(unsigned int x, unsigned int y);
/* Move the keyboard to near rect */
florence_error florence_move_to(unsigned int x, unsigned int y, unsigned int w, unsigned int h);
/* Terminate the keyboard */
florence_error florence_terminate();
/* Open florence menu */
florence_error florence_menu(unsigned int time);
/* Register for signal */
unsigned int florence_register(florence_signal signal, florence_signal_cb signalcb, void *user_data);
/* Unregister signal */
florence_error florence_unregister(florence_signal signal, unsigned int id);
#endif
|