summaryrefslogtreecommitdiff
path: root/src/libtracker-direct
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtracker-direct')
-rw-r--r--src/libtracker-direct/.gitignore1
-rw-r--r--src/libtracker-direct/Makefile.am1
-rw-r--r--src/libtracker-direct/tracker-namespace.vala29
3 files changed, 31 insertions, 0 deletions
diff --git a/src/libtracker-direct/.gitignore b/src/libtracker-direct/.gitignore
index dd131733d..b55dd251a 100644
--- a/src/libtracker-direct/.gitignore
+++ b/src/libtracker-direct/.gitignore
@@ -1,2 +1,3 @@
+tracker-namespace.c
tracker-direct.[ch]
tracker-direct*.vapi
diff --git a/src/libtracker-direct/Makefile.am b/src/libtracker-direct/Makefile.am
index b5e441b82..d6aaeb1cf 100644
--- a/src/libtracker-direct/Makefile.am
+++ b/src/libtracker-direct/Makefile.am
@@ -18,6 +18,7 @@ AM_CPPFLAGS = \
$(LIBTRACKER_DIRECT_CFLAGS)
libtracker_direct_la_SOURCES = \
+ tracker-namespace.vala \
tracker-direct.vala
libtracker_direct_la_LIBADD = \
diff --git a/src/libtracker-direct/tracker-namespace.vala b/src/libtracker-direct/tracker-namespace.vala
new file mode 100644
index 000000000..dd309fabc
--- /dev/null
+++ b/src/libtracker-direct/tracker-namespace.vala
@@ -0,0 +1,29 @@
+/*
+ * Copyright © 2015 Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+/*
+ * This file serves as the representation for the Tracker namespace, mostly
+ * so that we can set its namespace and version attributes for GIR.
+ */
+
+[CCode (cprefix = "TrackerDirect", gir_namespace = "TrackerDirect",
+ gir_version = "1.0", lower_case_cprefix = "tracker_direct_")]
+namespace Tracker
+{
+}