[nautilus-actions] Add file src/core/na-dbus-tracker.h



commit 99b2a5b1a18d8ca1d63fdeccc907518df97481ef
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Feb 15 19:55:18 2010 +0100

    Add file src/core/na-dbus-tracker.h

 ChangeLog                  |    2 +
 src/core/Makefile.am       |    1 +
 src/core/na-dbus-tracker.h |   57 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cf3c97c..8743da6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-02-15 Pierre Wieser <pwieser trychlos org>
 
+	* src/core/na-dbus-tracker.h: New file.
+
 	Remove useless src/api/na-gconf-keys.h
 	Update GConf I/O provider.
 	Create src/io-gconf/nagp-keys.c
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index 4f4e5b5..a71ec22 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -42,6 +42,7 @@ libna_core_la_SOURCES = \
 	na-data-element.h									\
 	na-data-factory.c									\
 	na-data-factory.h									\
+	na-dbus-tracker.h									\
 	na-gconf-monitor.c									\
 	na-gconf-utils.c									\
 	na-iduplicable.c									\
diff --git a/src/core/na-dbus-tracker.h b/src/core/na-dbus-tracker.h
new file mode 100644
index 0000000..5592f23
--- /dev/null
+++ b/src/core/na-dbus-tracker.h
@@ -0,0 +1,57 @@
+/*
+ * Nautilus Actions
+ * A Nautilus extension which offers configurable context menu actions.
+ *
+ * Copyright (C) 2005 The GNOME Foundation
+ * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
+ * Copyright (C) 2009, 2010 Pierre Wieser and others (see AUTHORS)
+ *
+ * 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 Library; see the file COPYING.  If not,
+ * write to the Free Software Foundation, Inc., 59 Temple Place,
+ * Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Authors:
+ *   Frederic Ruaudel <grumz grumz net>
+ *   Rodrigo Moya <rodrigo gnome-db org>
+ *   Pierre Wieser <pwieser trychlos org>
+ *   ... and many others (see AUTHORS)
+ */
+
+#ifndef __CORE_NA_DBUS_H__
+#define __CORE_NA_DBUS_H__
+
+/**
+ * SECTION: na_dbus
+ * @short_description:
+ * @include: core/na-dbus.h
+ */
+
+#include <glib-object.h>
+
+#include <api/na-dbus-names.h>
+
+G_BEGIN_DECLS
+
+/* a structure used by the org.nautilus_actions.DBus service,
+ * in its Tracker.Status interface
+ */
+typedef struct {
+	gchar *uri;
+	gchar *mimetype;
+}
+	NATrackedItem;
+
+G_END_DECLS
+
+#endif /* __CORE_NA_DBUS_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]