diff options
author | Felipe Barriga Richards <[email protected]> | 2016-11-07 12:18:26 -0300 |
---|---|---|
committer | Felipe Barriga Richards <[email protected]> | 2017-02-16 10:24:34 -0300 |
commit | 178994a7c466e8a29a77c64efcf3106028cb9cc8 (patch) | |
tree | 148ddd240867c7e8da2001589b110cf090891d49 /xattr-tags/caja-xattr-tags-extension.h | |
parent | b2491be21eee610367d5aa6eb0942bed46b83cbe (diff) | |
download | caja-extensions-178994a7c466e8a29a77c64efcf3106028cb9cc8.tar.bz2 caja-extensions-178994a7c466e8a29a77c64efcf3106028cb9cc8.tar.xz |
Added xattr-tags extension.
Diffstat (limited to 'xattr-tags/caja-xattr-tags-extension.h')
-rw-r--r-- | xattr-tags/caja-xattr-tags-extension.h | 55 |
1 files changed, 55 insertions, 0 deletions
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 <[email protected]> + */ + +#ifndef CAJA_XATTR_TAGS_EXTENSION_H +#define CAJA_XATTR_TAGS_EXTENSION_H + +#include <glib-object.h> + +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 */ |