/usr/include/wpeditor/wptextview.h is in libwpeditor-dev 2.18-0ubuntu3.
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 63 64 65 66 67 68 69 70 71 72 73 | /**
* @file wptextview.h
*
* Header file for WordPad Text View
*/
/*
* Osso Notes
* Copyright (c) 2005-06 Nokia Corporation. All rights reserved.
* Contact: Ouyang Qi <qi.ouyang@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* Initial developer(s): Zsolt Simon
*/
#ifndef _WP_TEXT_VIEW_H
#define _WP_TEXT_VIEW_H
#include <gtk/gtktextview.h>
G_BEGIN_DECLS
#define WP_TYPE_TEXT_VIEW (wp_text_view_get_type ())
#define WP_TEXT_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), WP_TYPE_TEXT_VIEW, WPTextView))
#define WP_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WP_TYPE_TEXT_VIEW, WPTextViewClass))
#define WP_IS_TEXT_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), WP_TYPE_TEXT_VIEW))
#define WP_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WP_TYPE_TEXT_VIEW))
#define WP_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WP_TYPE_TEXT_VIEW, WPTextViewClass))
typedef struct _WPTextView WPTextView;
typedef struct _WPTextViewPrivate WPTextViewPrivate;
typedef struct _WPTextViewClass WPTextViewClass;
/** WPTextView object */
struct _WPTextView {
GtkTextView parent;
gint mx, my;
gboolean in_action;
};
/** WPTextView class */
struct _WPTextViewClass {
GtkTextViewClass parent_class;
};
GType
wp_text_view_get_type(void)
G_GNUC_CONST;
/**
* Creates a new #WPTextView object
* @return the newly created object
*/
GtkWidget *wp_text_view_new(void);
void wp_text_view_reset_and_show_im(WPTextView * view);
G_END_DECLS
#endif /* _WP_TEXT_VIEW_H */
|