~ubuntu-branches/ubuntu/trusty/thunar-vcs-plugin/trusty

« back to all changes in this revision

Viewing changes to thunar-vcs-plugin/tvp-git-action.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2011-08-08 22:57:33 UTC
  • Revision ID: james.westby@ubuntu.com-20110808225733-mh2lhudn627hcmxu
Tags: upstream-0.1.4
ImportĀ upstreamĀ versionĀ 0.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-
 
2
 * Copyright (C) 2007-2011  Peter de Ridder <peter@xfce.org>
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 */
 
18
 
 
19
#ifndef __TVP_GIT_ACTION_H__
 
20
#define __TVP_GIT_ACTION_H__
 
21
 
 
22
#include <gtk/gtk.h>
 
23
#include <thunarx/thunarx.h>
 
24
 
 
25
G_BEGIN_DECLS;
 
26
 
 
27
typedef struct _TvpGitActionClass TvpGitActionClass;
 
28
typedef struct _TvpGitAction      TvpGitAction;
 
29
 
 
30
#define TVP_TYPE_GIT_ACTION             (tvp_git_action_get_type ())
 
31
#define TVP_GIT_ACTION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TVP_TYPE_GIT_ACTION, TvpGitAction))
 
32
#define TVP_GIT_ACTION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), TVP_TYPE_GIT_ACTION, TvpGitActionClass))
 
33
#define TVP_IS_GIT_ACTION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TVP_TYPE_GIT_ACTION))
 
34
#define TVP_IS_GIT_ACTION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), TVP_TYPE_GIT_ACTION))
 
35
#define TVP_GIT_ACTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TVP_TYPE_GIT_ACTION, TvpGitActionClass))
 
36
 
 
37
GType      tvp_git_action_get_type      (void) G_GNUC_CONST G_GNUC_INTERNAL;
 
38
void       tvp_git_action_register_type (ThunarxProviderPlugin *) G_GNUC_INTERNAL;
 
39
 
 
40
GtkAction *tvp_git_action_new           (const gchar*,
 
41
                                         const gchar*,
 
42
                                         GList *,
 
43
                                         GtkWidget *,
 
44
                                         gboolean,
 
45
                                         gboolean,
 
46
                                         gboolean) G_GNUC_MALLOC G_GNUC_INTERNAL;
 
47
 
 
48
G_END_DECLS;
 
49
 
 
50
#endif /* !__TVP_GIT_ACTION_H__ */