summaryrefslogtreecommitdiff
path: root/xattr-tags/caja-xattr-tags-extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'xattr-tags/caja-xattr-tags-extension.h')
-rw-r--r--xattr-tags/caja-xattr-tags-extension.h55
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 */