2007-06-26 16:17:16 +00:00
|
|
|
/*
|
|
|
|
* plugindata.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
2008-01-06 18:11:57 +00:00
|
|
|
* Copyright 2007-2008 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
|
|
|
* Copyright 2007-2008 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
2007-06-26 16:17:16 +00:00
|
|
|
*
|
|
|
|
* 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
* MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PLUGIN_H
|
|
|
|
#define PLUGIN_H
|
|
|
|
|
2007-07-23 15:41:08 +00:00
|
|
|
|
2007-08-10 16:11:17 +00:00
|
|
|
/**
|
2008-02-17 18:00:42 +00:00
|
|
|
* @file plugindata.h
|
|
|
|
* This file defines the plugin API, the interface between Geany and its plugins.
|
|
|
|
* For detailed documentation of the plugin system please read the plugin
|
|
|
|
* API documentation.
|
|
|
|
**/
|
2007-08-10 16:11:17 +00:00
|
|
|
|
2007-07-23 15:41:08 +00:00
|
|
|
|
2007-06-26 16:17:16 +00:00
|
|
|
/* The API version should be incremented whenever any plugin data types below are
|
2007-10-18 11:52:47 +00:00
|
|
|
* modified or appended to. */
|
2008-02-15 16:34:30 +00:00
|
|
|
static const gint api_version = 43;
|
2007-06-26 16:17:16 +00:00
|
|
|
|
|
|
|
/* The ABI version should be incremented whenever existing fields in the plugin
|
|
|
|
* data types below have to be changed or reordered. It should stay the same if fields
|
|
|
|
* are only appended, as this doesn't affect existing fields. */
|
2008-01-11 17:09:23 +00:00
|
|
|
static const gint abi_version = 20;
|
2007-06-26 16:17:16 +00:00
|
|
|
|
2007-06-27 15:56:42 +00:00
|
|
|
/* This performs runtime checks that try to ensure:
|
|
|
|
* 1. Geany ABI data types are compatible with this plugin.
|
|
|
|
* 2. Geany sources provide the required API for this plugin. */
|
2007-06-26 16:17:16 +00:00
|
|
|
/* TODO: if possible, the API version should be checked at compile time, not runtime. */
|
|
|
|
#define VERSION_CHECK(api_required) \
|
|
|
|
gint version_check(gint abi_ver) \
|
|
|
|
{ \
|
|
|
|
if (abi_ver != abi_version) \
|
|
|
|
return -1; \
|
|
|
|
if (api_version < (api_required)) \
|
|
|
|
return (api_required); \
|
|
|
|
else return 0; \
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-06-27 15:56:42 +00:00
|
|
|
typedef struct PluginInfo
|
2007-06-26 16:17:16 +00:00
|
|
|
{
|
|
|
|
gchar *name; // name of plugin
|
|
|
|
gchar *description; // description of plugin
|
2007-08-25 14:16:52 +00:00
|
|
|
gchar *version; // version of plugin
|
2007-11-20 18:15:46 +00:00
|
|
|
gchar *author; // author of plugin
|
2007-08-25 14:16:52 +00:00
|
|
|
gpointer reserved2; // reserved for later use
|
2007-06-27 15:56:42 +00:00
|
|
|
}
|
|
|
|
PluginInfo;
|
2007-06-26 16:17:16 +00:00
|
|
|
|
2007-08-27 16:29:28 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
2007-06-27 15:56:42 +00:00
|
|
|
/* Sets the plugin name and a brief description of what it is. */
|
2007-11-20 18:15:46 +00:00
|
|
|
#define PLUGIN_INFO(p_name, p_description, p_version, p_author) \
|
2007-06-27 15:56:42 +00:00
|
|
|
PluginInfo *info() \
|
|
|
|
{ \
|
|
|
|
static PluginInfo p_info; \
|
2007-08-27 16:29:28 +00:00
|
|
|
\
|
|
|
|
memset(&p_info, 0, sizeof(PluginInfo)); \
|
2007-06-27 15:56:42 +00:00
|
|
|
p_info.name = (p_name); \
|
|
|
|
p_info.description = (p_description); \
|
2007-08-25 14:16:52 +00:00
|
|
|
p_info.version = (p_version); \
|
2007-11-20 18:15:46 +00:00
|
|
|
p_info.author = (p_author); \
|
2007-06-27 15:56:42 +00:00
|
|
|
return &p_info; \
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-02-17 18:00:42 +00:00
|
|
|
/** callback array entry */
|
2007-10-22 12:42:19 +00:00
|
|
|
typedef struct GeanyCallback
|
|
|
|
{
|
2008-02-17 18:00:42 +00:00
|
|
|
/** The name of signal, must be an existing signal. For a list of available signals,
|
|
|
|
* please see the @link signals Signal documentation @endlink. */
|
2007-10-22 12:42:19 +00:00
|
|
|
gchar *signal_name;
|
2008-02-17 18:00:42 +00:00
|
|
|
/** A callback function which is called when the signal is emitted. */
|
2007-10-22 12:42:19 +00:00
|
|
|
GCallback callback;
|
2008-02-17 18:00:42 +00:00
|
|
|
/** Set to TRUE to connect your handler with g_signal_connect_after(). */
|
2007-10-22 12:42:19 +00:00
|
|
|
gboolean after;
|
2008-02-17 18:00:42 +00:00
|
|
|
/** The user data passed to the signal handler. */
|
2007-10-22 12:42:19 +00:00
|
|
|
gpointer user_data;
|
|
|
|
}
|
|
|
|
GeanyCallback;
|
|
|
|
|
|
|
|
|
2008-02-17 18:00:42 +00:00
|
|
|
|
2007-07-23 15:41:08 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
PLUGIN_IS_DOCUMENT_SENSITIVE = 1 << 0 // if menu_item should be disabled when there are no documents
|
|
|
|
}
|
|
|
|
PluginFlags;
|
|
|
|
|
2007-07-27 10:37:22 +00:00
|
|
|
/* Fields set and owned by the plugin.
|
|
|
|
* Note: Remember to increment api_version (and abi_version if necessary) when
|
|
|
|
* making changes. */
|
2007-07-23 15:41:08 +00:00
|
|
|
typedef struct PluginFields
|
|
|
|
{
|
|
|
|
PluginFlags flags;
|
2007-07-25 11:59:34 +00:00
|
|
|
GtkWidget *menu_item; // required if using PLUGIN_IS_DOCUMENT_SENSITIVE, ignored otherwise
|
2007-07-23 15:41:08 +00:00
|
|
|
}
|
|
|
|
PluginFields;
|
|
|
|
|
|
|
|
|
2007-06-27 15:56:42 +00:00
|
|
|
/* These are fields and functions owned by Geany.
|
2007-07-27 10:37:22 +00:00
|
|
|
* Fields and functions will be appended when needed by plugin authors.
|
2007-06-27 15:56:42 +00:00
|
|
|
* Note: Remember to increment api_version (and abi_version if necessary) when
|
|
|
|
* making changes. */
|
2007-07-27 10:37:22 +00:00
|
|
|
typedef struct GeanyData
|
2007-06-27 15:56:42 +00:00
|
|
|
{
|
2007-08-23 11:34:06 +00:00
|
|
|
GeanyApp *app; // Geany application data fields
|
2007-07-04 11:32:33 +00:00
|
|
|
GtkWidget *tools_menu; // Almost all plugins should add menu items to the Tools menu only
|
|
|
|
GArray *doc_array; // array of document pointers
|
2007-08-03 15:05:53 +00:00
|
|
|
struct filetype **filetypes;
|
2007-08-23 11:34:06 +00:00
|
|
|
struct GeanyPrefs *prefs;
|
2007-08-03 15:05:53 +00:00
|
|
|
struct EditorPrefs *editor_prefs;
|
2007-09-17 11:16:48 +00:00
|
|
|
struct BuildInfo *build_info;
|
2007-07-04 11:32:33 +00:00
|
|
|
|
2007-12-16 11:27:59 +00:00
|
|
|
struct DocumentFuncs *documents;
|
|
|
|
struct ScintillaFuncs *sci;
|
|
|
|
struct TemplateFuncs *templates;
|
|
|
|
struct UtilsFuncs *utils;
|
|
|
|
struct UIUtilsFuncs *ui;
|
|
|
|
struct SupportFuncs *support;
|
|
|
|
struct DialogFuncs *dialogs;
|
|
|
|
struct MsgWinFuncs *msgwindow;
|
|
|
|
struct EncodingFuncs *encoding;
|
|
|
|
struct KeybindingFuncs *keybindings;
|
|
|
|
struct TagManagerFuncs *tm;
|
|
|
|
struct SearchFuncs *search;
|
|
|
|
struct HighlightingFuncs *highlighting;
|
2008-01-02 21:20:33 +00:00
|
|
|
struct FiletypeFuncs *filetype;
|
2007-06-27 15:56:42 +00:00
|
|
|
}
|
2007-07-27 10:37:22 +00:00
|
|
|
GeanyData;
|
|
|
|
|
|
|
|
typedef GeanyData PluginData; // for compatibility with API < 7
|
2007-06-26 16:17:16 +00:00
|
|
|
|
|
|
|
|
2007-07-13 14:54:11 +00:00
|
|
|
/* For more info about these functions, see the main source code.
|
2007-07-27 10:37:22 +00:00
|
|
|
* E.g. for GeanyData::document->new_file(), see document_new_file() in document.[hc]. */
|
2007-07-13 14:54:11 +00:00
|
|
|
|
2007-07-04 11:32:33 +00:00
|
|
|
|
2007-08-10 11:45:20 +00:00
|
|
|
typedef struct DocumentFuncs
|
2007-07-04 11:32:33 +00:00
|
|
|
{
|
2007-09-03 16:09:53 +00:00
|
|
|
gint (*new_file) (const gchar *filename, struct filetype *ft, const gchar *text);
|
2007-07-24 11:43:46 +00:00
|
|
|
gint (*get_cur_idx) ();
|
2007-11-21 18:54:12 +00:00
|
|
|
gint (*get_n_idx) (guint i);
|
2007-12-01 17:53:36 +00:00
|
|
|
gint (*find_by_filename) (const gchar *filename, gboolean is_tm_filename);
|
2007-09-12 11:17:53 +00:00
|
|
|
struct document* (*get_current) ();
|
2007-08-14 16:29:03 +00:00
|
|
|
gboolean (*save_file)(gint idx, gboolean force);
|
2007-09-12 11:17:53 +00:00
|
|
|
gint (*open_file)(const gchar *locale_filename, gboolean readonly,
|
|
|
|
struct filetype *ft, const gchar *forced_enc);
|
2007-08-15 11:52:06 +00:00
|
|
|
void (*open_files)(const GSList *filenames, gboolean readonly, struct filetype *ft,
|
|
|
|
const gchar *forced_enc);
|
|
|
|
gboolean (*remove)(guint page_num);
|
2007-09-11 16:05:03 +00:00
|
|
|
gboolean (*reload_file)(gint idx, const gchar *forced_enc);
|
2007-10-18 18:03:28 +00:00
|
|
|
void (*set_encoding)(gint idx, const gchar *new_encoding);
|
2007-11-04 10:12:15 +00:00
|
|
|
void (*set_text_changed)(gint idx);
|
2007-08-10 11:45:20 +00:00
|
|
|
}
|
|
|
|
DocumentFuncs;
|
2007-07-04 11:32:33 +00:00
|
|
|
|
|
|
|
struct _ScintillaObject;
|
|
|
|
|
2007-08-10 11:45:20 +00:00
|
|
|
typedef struct ScintillaFuncs
|
2007-07-04 11:32:33 +00:00
|
|
|
{
|
2007-09-12 11:17:53 +00:00
|
|
|
long int (*send_message) (struct _ScintillaObject* sci, unsigned int iMessage,
|
|
|
|
long unsigned int wParam, long int lParam);
|
2007-08-03 15:05:53 +00:00
|
|
|
void (*send_command) (struct _ScintillaObject* sci, gint cmd);
|
|
|
|
|
|
|
|
void (*start_undo_action) (struct _ScintillaObject* sci);
|
|
|
|
void (*end_undo_action) (struct _ScintillaObject* sci);
|
2007-07-13 14:54:11 +00:00
|
|
|
void (*set_text) (struct _ScintillaObject *sci, const gchar *text);
|
2007-07-23 15:41:08 +00:00
|
|
|
void (*insert_text) (struct _ScintillaObject *sci, gint pos, const gchar *text);
|
2007-07-24 11:43:46 +00:00
|
|
|
void (*get_text) (struct _ScintillaObject *sci, gint len, gchar* text);
|
|
|
|
gint (*get_length) (struct _ScintillaObject *sci);
|
2007-08-03 15:05:53 +00:00
|
|
|
gint (*get_current_position) (struct _ScintillaObject *sci);
|
|
|
|
void (*set_current_position) (struct _ScintillaObject* sci, gint position, gboolean scroll_to_caret);
|
|
|
|
gint (*get_col_from_position) (struct _ScintillaObject* sci, gint position);
|
|
|
|
gint (*get_line_from_position) (struct _ScintillaObject* sci, gint position);
|
|
|
|
gint (*get_position_from_line) (struct _ScintillaObject* sci, gint line);
|
2007-07-24 11:43:46 +00:00
|
|
|
void (*replace_sel) (struct _ScintillaObject* sci, const gchar* text);
|
|
|
|
void (*get_selected_text) (struct _ScintillaObject* sci, gchar* text);
|
|
|
|
gint (*get_selected_text_length) (struct _ScintillaObject* sci);
|
2007-08-03 15:05:53 +00:00
|
|
|
gint (*get_selection_start) (struct _ScintillaObject* sci);
|
|
|
|
gint (*get_selection_end) (struct _ScintillaObject* sci);
|
|
|
|
gint (*get_selection_mode) (struct _ScintillaObject* sci);
|
|
|
|
void (*set_selection_mode) (struct _ScintillaObject* sci, gint mode);
|
|
|
|
void (*set_selection_start) (struct _ScintillaObject* sci, gint position);
|
|
|
|
void (*set_selection_end) (struct _ScintillaObject* sci, gint position);
|
|
|
|
void (*get_text_range) (struct _ScintillaObject* sci, gint start, gint end, gchar*text);
|
|
|
|
gchar* (*get_line) (struct _ScintillaObject* sci, gint line_num);
|
|
|
|
gint (*get_line_length) (struct _ScintillaObject* sci, gint line);
|
|
|
|
gint (*get_line_count) (struct _ScintillaObject* sci);
|
2007-09-12 11:17:53 +00:00
|
|
|
gboolean (*get_line_is_visible) (struct _ScintillaObject* sci, gint line);
|
2007-08-03 15:05:53 +00:00
|
|
|
void (*ensure_line_is_visible) (struct _ScintillaObject* sci, gint line);
|
|
|
|
void (*scroll_caret) (struct _ScintillaObject* sci);
|
|
|
|
gint (*find_bracematch) (struct _ScintillaObject* sci, gint pos);
|
2007-08-19 17:40:19 +00:00
|
|
|
gint (*get_style_at) (struct _ScintillaObject *sci, gint position);
|
|
|
|
gchar (*get_char_at) (struct _ScintillaObject *sci, gint pos);
|
2008-02-04 12:49:14 +00:00
|
|
|
gint (*get_current_line) (struct _ScintillaObject *sci);
|
2007-08-10 11:45:20 +00:00
|
|
|
}
|
|
|
|
ScintillaFuncs;
|
2007-07-04 11:32:33 +00:00
|
|
|
|
2007-08-10 11:45:20 +00:00
|
|
|
typedef struct TemplateFuncs
|
2007-07-04 11:32:33 +00:00
|
|
|
{
|
2007-09-17 11:16:48 +00:00
|
|
|
gchar* (*get_template_fileheader) (gint filetype_idx, const gchar *fname);
|
2007-08-10 11:45:20 +00:00
|
|
|
}
|
|
|
|
TemplateFuncs;
|
2007-07-04 11:32:33 +00:00
|
|
|
|
2007-08-10 11:45:20 +00:00
|
|
|
typedef struct UtilsFuncs
|
2007-07-04 11:32:33 +00:00
|
|
|
{
|
2007-07-13 14:54:11 +00:00
|
|
|
gboolean (*str_equal) (const gchar *a, const gchar *b);
|
2007-09-11 15:21:11 +00:00
|
|
|
gboolean (*string_replace_all) (GString *haystack, const gchar *needle,
|
2007-10-16 09:01:13 +00:00
|
|
|
const gchar *replacement);
|
2007-07-24 11:43:46 +00:00
|
|
|
GSList* (*get_file_list) (const gchar *path, guint *length, GError **error);
|
2007-08-19 17:40:19 +00:00
|
|
|
gint (*write_file) (const gchar *filename, const gchar *text);
|
|
|
|
gchar* (*get_locale_from_utf8) (const gchar *utf8_text);
|
|
|
|
gchar* (*get_utf8_from_locale) (const gchar *locale_text);
|
|
|
|
gchar* (*remove_ext_from_filename) (const gchar *filename);
|
2007-11-21 18:54:12 +00:00
|
|
|
gint (*mkdir) (const gchar *path, gboolean create_parent_dirs);
|
2008-01-02 21:20:33 +00:00
|
|
|
gboolean (*get_setting_boolean) (GKeyFile *config, const gchar *section, const gchar *key,
|
|
|
|
const gboolean default_value);
|
|
|
|
gint (*get_setting_integer) (GKeyFile *config, const gchar *section, const gchar *key,
|
|
|
|
const gint default_value);
|
|
|
|
gchar* (*get_setting_string) (GKeyFile *config, const gchar *section, const gchar *key,
|
|
|
|
const gchar *default_value);
|
2007-08-10 11:45:20 +00:00
|
|
|
}
|
|
|
|
UtilsFuncs;
|
2007-07-13 14:54:11 +00:00
|
|
|
|
2007-08-10 11:45:20 +00:00
|
|
|
typedef struct UIUtilsFuncs
|
2007-07-13 14:54:11 +00:00
|
|
|
{
|
|
|
|
GtkWidget* (*dialog_vbox_new) (GtkDialog *dialog);
|
|
|
|
GtkWidget* (*frame_new_with_alignment) (const gchar *label_text, GtkWidget **alignment);
|
2007-09-25 16:21:35 +00:00
|
|
|
|
|
|
|
/* set_statusbar() also appends to the message window status tab if log is TRUE. */
|
|
|
|
void (*set_statusbar) (gboolean log, const gchar *format, ...) G_GNUC_PRINTF (2, 3);
|
2008-02-04 13:40:14 +00:00
|
|
|
|
2008-02-04 12:49:14 +00:00
|
|
|
void (*table_add_row) (GtkTable *table, gint row, ...) G_GNUC_NULL_TERMINATED;
|
|
|
|
GtkWidget* (*path_box_new) (const gchar *title, GtkFileChooserAction action, GtkEntry *entry);
|
2008-02-04 13:40:14 +00:00
|
|
|
GtkWidget* (*button_new_with_image) (const gchar *stock_id, const gchar *text);
|
2007-08-10 11:45:20 +00:00
|
|
|
}
|
|
|
|
UIUtilsFuncs;
|
2007-07-04 11:32:33 +00:00
|
|
|
|
2007-08-19 17:40:19 +00:00
|
|
|
typedef struct DialogFuncs
|
|
|
|
{
|
|
|
|
gboolean (*show_question) (const gchar *text, ...);
|
|
|
|
void (*show_msgbox) (gint type, const gchar *text, ...);
|
2008-02-04 13:40:14 +00:00
|
|
|
gboolean (*show_save_as) ();
|
2007-08-19 17:40:19 +00:00
|
|
|
}
|
|
|
|
DialogFuncs;
|
|
|
|
|
2007-08-03 15:05:53 +00:00
|
|
|
typedef struct SupportFuncs
|
|
|
|
{
|
|
|
|
GtkWidget* (*lookup_widget) (GtkWidget *widget, const gchar *widget_name);
|
|
|
|
}
|
|
|
|
SupportFuncs;
|
|
|
|
|
2007-08-10 16:11:17 +00:00
|
|
|
|
2007-08-19 17:40:19 +00:00
|
|
|
typedef struct MsgWinFuncs
|
|
|
|
{
|
2007-09-25 16:21:35 +00:00
|
|
|
/* status_add() does not set the status bar - use ui->set_statusbar() instead. */
|
2007-08-19 17:40:19 +00:00
|
|
|
void (*status_add) (const gchar *format, ...);
|
2007-09-17 11:16:48 +00:00
|
|
|
void (*compiler_add) (gint msg_color, const gchar *format, ...) G_GNUC_PRINTF (2, 3);
|
2007-08-19 17:40:19 +00:00
|
|
|
}
|
|
|
|
MsgWinFuncs;
|
|
|
|
|
|
|
|
|
2007-10-18 18:03:28 +00:00
|
|
|
typedef struct EncodingFuncs
|
|
|
|
{
|
2008-01-16 16:50:10 +00:00
|
|
|
gchar* (*convert_to_utf8) (const gchar *buffer, gsize size, gchar **used_encoding);
|
|
|
|
gchar* (*convert_to_utf8_from_charset) (const gchar *buffer, gsize size,
|
|
|
|
const gchar *charset, gboolean fast);
|
|
|
|
const gchar* (*get_charset_from_index) (gint idx);
|
2007-10-18 18:03:28 +00:00
|
|
|
}
|
|
|
|
EncodingFuncs;
|
|
|
|
|
|
|
|
|
2007-10-22 12:42:19 +00:00
|
|
|
typedef struct KeybindingFuncs
|
2007-08-10 16:11:17 +00:00
|
|
|
{
|
2007-10-22 12:42:19 +00:00
|
|
|
/* See GeanyKeyCommand enum for cmd_id. */
|
|
|
|
void (*send_command) (gint cmd_id);
|
2007-08-10 16:11:17 +00:00
|
|
|
}
|
2007-10-22 12:42:19 +00:00
|
|
|
KeybindingFuncs;
|
|
|
|
|
|
|
|
|
2007-12-16 11:27:59 +00:00
|
|
|
typedef struct HighlightingFuncs
|
|
|
|
{
|
|
|
|
const struct HighlightingStyle* (*get_style) (gint ft_id, gint style_id);
|
|
|
|
}
|
|
|
|
HighlightingFuncs;
|
|
|
|
|
|
|
|
|
2008-01-02 21:20:33 +00:00
|
|
|
typedef struct FiletypeFuncs
|
|
|
|
{
|
|
|
|
filetype* (*detect_from_filename) (const gchar *utf8_filename);
|
|
|
|
}
|
|
|
|
FiletypeFuncs;
|
|
|
|
|
|
|
|
|
2007-12-02 10:52:19 +00:00
|
|
|
typedef struct SearchFuncs
|
|
|
|
{
|
|
|
|
void (*show_find_in_files_dialog) (const gchar *dir);
|
|
|
|
}
|
|
|
|
SearchFuncs;
|
|
|
|
|
2007-10-22 12:42:19 +00:00
|
|
|
typedef struct TagManagerFuncs
|
|
|
|
{
|
2008-01-02 21:20:33 +00:00
|
|
|
gchar* (*get_real_path) (const gchar *file_name);
|
|
|
|
TMWorkObject* (*source_file_new) (const char *file_name, gboolean update, const char *name);
|
|
|
|
gboolean (*workspace_add_object) (TMWorkObject *work_object);
|
|
|
|
gboolean (*source_file_update) (TMWorkObject *source_file, gboolean force,
|
|
|
|
gboolean recurse, gboolean update_parent);
|
|
|
|
void (*work_object_free) (gpointer work_object);
|
2008-01-11 17:09:23 +00:00
|
|
|
gboolean (*workspace_remove_object) (TMWorkObject *w, gboolean do_free, gboolean update);
|
2007-10-22 12:42:19 +00:00
|
|
|
}
|
|
|
|
TagManagerFuncs;
|
2007-08-10 16:11:17 +00:00
|
|
|
|
2007-06-26 16:17:16 +00:00
|
|
|
#endif
|