Make a generic command-finished handler.
[anjuta-git-plugin.git] / plugins / tools / editor.h
blobac1142d7882db36fa8783a213fa04d070d34679c
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 editor.h
4 Copyright (C) 2003 Biswapesh Chattopadhyay
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __EDITOR_H__
22 #define __EDITOR_H__
24 #include "tool.h"
26 #define GLADE_FILE PACKAGE_DATA_DIR"/glade/anjuta-tools.glade"
28 typedef struct _ATPToolEditor ATPToolEditor;
29 typedef struct _ATPToolEditorList ATPToolEditorList;
31 struct _ATPToolEditorList {
32 ATPToolEditor* first;
35 struct _ATPToolDialog;
37 ATPToolEditor* atp_tool_editor_new (ATPUserTool *tool, ATPToolEditorList* list, struct _ATPToolDialog* dialog);
38 gboolean atp_tool_editor_free (ATPToolEditor* this);
39 gboolean atp_tool_editor_show (ATPToolEditor* this);
41 ATPToolEditorList* atp_tool_editor_list_construct (ATPToolEditorList* this);
42 void atp_tool_editor_list_destroy (ATPToolEditorList* this);
44 #endif