/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * anjuta
 * Copyright (C) Johannes Schmid 2012 <jhs@Obelix>
 * 
 * anjuta is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * anjuta is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _SEARCH_FILTER_FILE_COMMAND_H_
#define _SEARCH_FILTER_FILE_COMMAND_H_

#include <libanjuta/anjuta-async-command.h>
#include <gio/gio.h>

G_BEGIN_DECLS

#define SEARCH_TYPE_FILTER_FILE_COMMAND             (search_filter_file_command_get_type ())
#define SEARCH_FILTER_FILE_COMMAND(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEARCH_TYPE_FILTER_FILE_COMMAND, SearchFilterFileCommand))
#define SEARCH_FILTER_FILE_COMMAND_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), SEARCH_TYPE_FILTER_FILE_COMMAND, SearchFilterFileCommandClass))
#define SEARCH_IS_FILTER_FILE_COMMAND(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SEARCH_TYPE_FILTER_FILE_COMMAND))
#define SEARCH_IS_FILTER_FILE_COMMAND_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), SEARCH_TYPE_FILTER_FILE_COMMAND))
#define SEARCH_FILTER_FILE_COMMAND_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), SEARCH_TYPE_FILTER_FILE_COMMAND, SearchFilterFileCommandClass))

typedef struct _SearchFilterFileCommandClass SearchFilterFileCommandClass;
typedef struct _SearchFilterFileCommand SearchFilterFileCommand;
typedef struct _SearchFilterFileCommandPrivate SearchFilterFileCommandPrivate;

struct _SearchFilterFileCommandClass
{
	AnjutaAsyncCommandClass parent_class;
};

struct _SearchFilterFileCommand
{
	AnjutaAsyncCommand parent_instance;

	SearchFilterFileCommandPrivate* priv;
};

GType search_filter_file_command_get_type (void) G_GNUC_CONST;
SearchFilterFileCommand* search_filter_file_command_new (GFile* file, const gchar* mime_types);

G_END_DECLS

#endif /* _SEARCH_FILTER_FILE_COMMAND_H_ */
