From 178994a7c466e8a29a77c64efcf3106028cb9cc8 Mon Sep 17 00:00:00 2001 From: Felipe Barriga Richards Date: Mon, 7 Nov 2016 12:18:26 -0300 Subject: Added xattr-tags extension. --- xattr-tags/caja-xattr-tags-extension.h | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 xattr-tags/caja-xattr-tags-extension.h (limited to 'xattr-tags/caja-xattr-tags-extension.h') diff --git a/xattr-tags/caja-xattr-tags-extension.h b/xattr-tags/caja-xattr-tags-extension.h new file mode 100644 index 0000000..77e7754 --- /dev/null +++ b/xattr-tags/caja-xattr-tags-extension.h @@ -0,0 +1,55 @@ +/* + * Caja xattr tags extension + * + * Copyright (C) 2016 Felipe Barriga Richards + * + * This program 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 2 of the License, or + * (at your option) any later version. + * + * This program 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, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Authors: Felipe Barriga Richards + */ + +#ifndef CAJA_XATTR_TAGS_EXTENSION_H +#define CAJA_XATTR_TAGS_EXTENSION_H + +#include + +G_BEGIN_DECLS + +#define CAJA_TYPE_XATTR_TAGS (caja_xattr_tags_get_type ()) +#define CAJA_XATTR_TAGS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_XATTR_TAGS, cajaXattrTags)) +#define CAJA_IS_XATTR_TAGS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_XATTR_TAGS)) + +typedef struct _CajaXattrTags CajaXattrTags; +typedef struct _CajaXattrTagsClass CajaXattrTagsClass; + +struct _CajaXattrTags { + GObject __parent; +}; + +struct _CajaXattrTagsClass { + GObjectClass __parent; +}; + +GType caja_xattr_tags_get_type(void); +void caja_xattr_tags_register_type(GTypeModule *module); + +////////////////////////////////////////////////////// +// hack: libcaja-private/caja-file.c +char *caja_file_get_activation_uri(CajaFile *file); +////////////////////////////////////////////////////// + +G_END_DECLS + +#endif /* CAJA_XATTR_TAGS_EXTENSION_H */ -- cgit v1.2.1