bgo#642719 - Prototype generator for C header files
[anjuta.git] / plugins / cvs-plugin / cvs-callbacks.h
blobb2df9665dc3e0053eec56a74947e0dffc21aec51
1 /*
2 * cvs-callbacks.h (c) 2005 Johannes Schmid
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Library General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #ifndef CVS_CALLBACKS_H
19 #define CVS_CALLBACKS_H
21 #include "plugin.h"
23 typedef struct
25 GtkBuilder* bxml;
26 CVSPlugin* plugin;
27 } CVSData;
29 enum
31 DIFF_STANDARD = 0,
32 DIFF_PATCH = 1
35 enum
37 SERVER_LOCAL = 0,
38 SERVER_EXTERN = 1,
39 SERVER_PASSWORD = 2,
42 CVSData* cvs_data_new(CVSPlugin* plugin, GtkBuilder* bxml);
43 void cvs_data_free(CVSData* data);
45 void
46 on_cvs_add_response(GtkDialog* dialog, gint response, CVSData* data);
48 void
49 on_cvs_remove_response(GtkDialog* dialog, gint response, CVSData* data);
51 void
52 on_cvs_update_response(GtkDialog* dialog, gint response, CVSData* data);
54 void
55 on_cvs_commit_response(GtkDialog* dialog, gint response, CVSData* data);
57 void
58 on_cvs_diff_response(GtkDialog* dialog, gint response, CVSData* data);
60 void
61 on_cvs_status_response(GtkDialog* dialog, gint response, CVSData* data);
63 void
64 on_cvs_log_response(GtkDialog* dialog, gint response, CVSData* data);
66 void
67 on_cvs_import_response(GtkDialog* dialog, gint response, CVSData* data);
69 #endif