2016-01-01 22:25:53 -08:00
|
|
|
#pragma once
|
2010-11-23 21:54:39 -08:00
|
|
|
|
|
|
|
#include <gio/gio.h>
|
|
|
|
#include <mooutils/mooarray.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2010-12-12 02:29:20 -08:00
|
|
|
MOO_DECLARE_OBJECT_ARRAY_FULL (MooFileArray, moo_file_array, GFile)
|
2010-11-23 21:54:39 -08:00
|
|
|
|
2013-04-20 22:14:56 -07:00
|
|
|
G_INLINE_FUNC void
|
2010-11-23 21:54:39 -08:00
|
|
|
moo_file_free (GFile *file)
|
|
|
|
{
|
|
|
|
if (file)
|
|
|
|
g_object_unref (file);
|
|
|
|
}
|
|
|
|
|
2016-01-04 03:56:42 -08:00
|
|
|
gboolean moo_file_fnmatch (GFile* file,
|
|
|
|
const char* glob);
|
2010-11-23 21:54:39 -08:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2016-01-01 22:25:53 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
2016-01-31 00:03:05 -08:00
|
|
|
#include <moocpp/moocpp.h>
|
2016-01-01 22:25:53 -08:00
|
|
|
|
2016-10-02 21:10:05 -07:00
|
|
|
g::gstr moo_file_get_display_name (g::File& file);
|
2016-01-01 22:25:53 -08:00
|
|
|
|
|
|
|
#endif // __cplusplus
|