Debian Codegraph @

src/job/fm-file-ops-job-delete.h

raw
1 /*
2 * fm-file-ops-job-delete.h
3 *
4 * Copyright 2009 Hong Jen Yee (PCMan) <[email protected]>
5 *
6 * This file is a part of the Libfm library.
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23 #ifndef __FM_FILE_OPS_JOB_DELETE_H__
24 #define __FM_FILE_OPS_JOB_DELETE_H__
25
26 #include <glib.h>
27 #include <gio/gio.h>
28 #include "fm-file-ops-job.h"
29 #include "fm-folder.h"
30
31 G_BEGIN_DECLS
32
33 gboolean _fm_file_ops_job_delete_file(FmJob* job, GFile* gf, GFileInfo* inf,
34 FmFolder *folder, gboolean only_empty);
35 gboolean _fm_file_ops_job_delete_run(FmFileOpsJob* job);
36
37 /* gboolean _fm_file_ops_job_trash_file(FmJob* job, GFile* gf, GFileInfo* inf); */
38 gboolean _fm_file_ops_job_trash_run(FmFileOpsJob* job);
39
40 /* gboolean _fm_file_ops_job_untrash_file(FmJob* job, GFile* gf, GFileInfo* inf); */
41 gboolean _fm_file_ops_job_untrash_run(FmFileOpsJob* job);
42
43 G_END_DECLS
44
45 #endif