summaryrefslogtreecommitdiff
path: root/examples/libtracker-miner/tracker-miner-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libtracker-miner/tracker-miner-test.c')
-rw-r--r--examples/libtracker-miner/tracker-miner-test.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/libtracker-miner/tracker-miner-test.c b/examples/libtracker-miner/tracker-miner-test.c
new file mode 100644
index 000000000..ce84bbba7
--- /dev/null
+++ b/examples/libtracker-miner/tracker-miner-test.c
@@ -0,0 +1,43 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Copyright (C) 2009, Nokia
+
+ * This library 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 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
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU 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.
+ */
+
+#include "config.h"
+
+#include "tracker-miner-test.h"
+
+G_DEFINE_TYPE (TrackerMinerTest, tracker_miner_test, TRACKER_TYPE_MINER_FS)
+
+static void
+tracker_miner_test_class_init (TrackerMinerTestClass *klass)
+{
+}
+
+static void
+tracker_miner_test_init (TrackerMinerTest *miner)
+{
+}
+
+TrackerMiner *
+tracker_miner_test_new (const gchar *name)
+{
+ return g_object_new (TRACKER_TYPE_MINER_TEST,
+ "name", name,
+ NULL);
+}