X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fglocaldirectorymonitor.h;h=b873404ed4fce7e040455a1c64d1941d32b52e85;hb=25990eb2b6da94e1d03631eab8a952ef84cb9986;hp=3baa8433e6fe8c6b755557bf3ac94b8729de99bb;hpb=b7e749fc68eeedf0abc392c00acb8d0bde2352dd;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/glocaldirectorymonitor.h b/gio/glocaldirectorymonitor.h
index 3baa843..b873404 100644
--- a/gio/glocaldirectorymonitor.h
+++ b/gio/glocaldirectorymonitor.h
@@ -13,9 +13,7 @@
* 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., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see .
*
* Author: Alexander Larsson
*/
@@ -34,8 +32,10 @@ G_BEGIN_DECLS
#define G_LOCAL_DIRECTORY_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_LOCAL_DIRECTORY_MONITOR, GLocalDirectoryMonitorClass))
#define G_IS_LOCAL_DIRECTORY_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_LOCAL_DIRECTORY_MONITOR))
#define G_IS_LOCAL_DIRECTORY_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_LOCAL_DIRECTORY_MONITOR))
+#define G_LOCAL_DIRECTORY_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_LOCAL_DIRECTORY_MONITOR, GLocalDirectoryMonitorClass))
#define G_LOCAL_DIRECTORY_MONITOR_EXTENSION_POINT_NAME "gio-local-directory-monitor"
+#define G_NFS_DIRECTORY_MONITOR_EXTENSION_POINT_NAME "gio-nfs-directory-monitor"
typedef struct _GLocalDirectoryMonitor GLocalDirectoryMonitor;
typedef struct _GLocalDirectoryMonitorClass GLocalDirectoryMonitorClass;
@@ -58,6 +58,7 @@ struct _GLocalDirectoryMonitorClass
gboolean mount_notify;
gboolean (* is_supported) (void);
+ void (* start) (GLocalDirectoryMonitor *local_monitor);
};
#ifdef G_OS_UNIX
@@ -67,7 +68,16 @@ GType g_local_directory_monitor_get_type (void) G_GNUC_CONST;
GFileMonitor * _g_local_directory_monitor_new (const char *dirname,
GFileMonitorFlags flags,
+ GMainContext *context,
+ gboolean is_remote_fs,
+ gboolean do_start,
GError **error);
+void g_local_directory_monitor_start (GLocalDirectoryMonitor *local_monitor);
+
+/* Actually in glocalfile.c */
+GLocalDirectoryMonitor * g_local_directory_monitor_new_in_worker (const char *pathname,
+ GFileMonitorFlags flags,
+ GError **error);
G_END_DECLS