Updated Spanish translation
[anjuta.git] / plugins / document-manager / search-file-command.h
blob20c5f9ba539ccbfdf94aefd96244f874d463b380
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta
4 * Copyright (C) Johannes Schmid 2012 <jhs@gnome.org>
5 *
6 * anjuta is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * anjuta is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _SEARCH_FILE_COMMAND_H_
21 #define _SEARCH_FILE_COMMAND_H_
23 #include <libanjuta/anjuta-async-command.h>
24 #include <gio/gio.h>
26 G_BEGIN_DECLS
28 #define SEARCH_TYPE_FILE_COMMAND (search_file_command_get_type ())
29 #define SEARCH_FILE_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEARCH_TYPE_FILE_COMMAND, SearchFileCommand))
30 #define SEARCH_FILE_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SEARCH_TYPE_FILE_COMMAND, SearchFileCommandClass))
31 #define SEARCH_IS_FILE_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SEARCH_TYPE_FILE_COMMAND))
32 #define SEARCH_IS_FILE_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SEARCH_TYPE_FILE_COMMAND))
33 #define SEARCH_FILE_COMMAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SEARCH_TYPE_FILE_COMMAND, SearchFileCommandClass))
35 typedef struct _SearchFileCommandClass SearchFileCommandClass;
36 typedef struct _SearchFileCommand SearchFileCommand;
37 typedef struct _SearchFileCommandPrivate SearchFileCommandPrivate;
39 struct _SearchFileCommandClass
41 AnjutaAsyncCommandClass parent_class;
44 struct _SearchFileCommand
46 AnjutaAsyncCommand parent_instance;
48 SearchFileCommandPrivate* priv;
51 GType search_file_command_get_type (void) G_GNUC_CONST;
52 SearchFileCommand* search_file_command_new (GFile* file,
53 const gchar* pattern,
54 const gchar* replace,
55 gboolean case_sensitive,
56 gboolean regex);
57 gint search_file_command_get_n_matches (SearchFileCommand* cmd);
59 G_END_DECLS
61 #endif /* _SEARCH_FILE_COMMAND_H_ */