hook gvariant vectors up to kdbus
[platform/upstream/glib.git] / gio / glocaldirectorymonitor.h
index 95a3f6f..b873404 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  *
  * Author: Alexander Larsson <alexl@redhat.com>
  */
@@ -60,6 +58,7 @@ struct _GLocalDirectoryMonitorClass
   gboolean mount_notify;
 
   gboolean (* is_supported) (void);
+  void     (* start)        (GLocalDirectoryMonitor *local_monitor);
 };
 
 #ifdef G_OS_UNIX
@@ -69,8 +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