1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) Johannes Schmid 2012 <jhs@Obelix>
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_FILTER_FILE_COMMAND_H_
21 #define _SEARCH_FILTER_FILE_COMMAND_H_
23 #include <libanjuta/anjuta-async-command.h>
28 #define SEARCH_TYPE_FILTER_FILE_COMMAND (search_filter_file_command_get_type ())
29 #define SEARCH_FILTER_FILE_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEARCH_TYPE_FILTER_FILE_COMMAND, SearchFilterFileCommand))
30 #define SEARCH_FILTER_FILE_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SEARCH_TYPE_FILTER_FILE_COMMAND, SearchFilterFileCommandClass))
31 #define SEARCH_IS_FILTER_FILE_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SEARCH_TYPE_FILTER_FILE_COMMAND))
32 #define SEARCH_IS_FILTER_FILE_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SEARCH_TYPE_FILTER_FILE_COMMAND))
33 #define SEARCH_FILTER_FILE_COMMAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SEARCH_TYPE_FILTER_FILE_COMMAND, SearchFilterFileCommandClass))
35 typedef struct _SearchFilterFileCommandClass SearchFilterFileCommandClass
;
36 typedef struct _SearchFilterFileCommand SearchFilterFileCommand
;
37 typedef struct _SearchFilterFileCommandPrivate SearchFilterFileCommandPrivate
;
39 struct _SearchFilterFileCommandClass
41 AnjutaAsyncCommandClass parent_class
;
44 struct _SearchFilterFileCommand
46 AnjutaAsyncCommand parent_instance
;
48 SearchFilterFileCommandPrivate
* priv
;
51 GType
search_filter_file_command_get_type (void) G_GNUC_CONST
;
52 SearchFilterFileCommand
* search_filter_file_command_new (GFile
* file
, const gchar
* mime_types
);
56 #endif /* _SEARCH_FILTER_FILE_COMMAND_H_ */