~mandel/ubuntuone-client/donot-add-watches-parents

« back to all changes in this revision

Viewing changes to libsyncdaemon/syncdaemon-daemon.c

  • Committer: Rodrigo Moya
  • Date: 2010-06-04 10:09:15 UTC
  • mto: This revision was merged to the branch mainline in revision 533.
  • Revision ID: rodrigo.moya@canonical.com-20100604100915-hnzg2pj6107fdf5g
Added SyncdaemonEventsInterface class

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#endif
29
29
#include "syncdaemon-daemon.h"
30
30
#include "syncdaemon-config-interface.h"
 
31
#include "syncdaemon-events-interface.h"
31
32
#include "syncdaemon-marshal.h"
32
33
 
33
34
G_DEFINE_TYPE(SyncdaemonDaemon, syncdaemon_daemon, G_TYPE_OBJECT)
386
387
}
387
388
 
388
389
/**
 
390
 * syncdaemon_daemon_get_events_interface:
 
391
 */
 
392
SyncdaemonInterface *
 
393
syncdaemon_daemon_get_events_interface (SyncdaemonDaemon *daemon)
 
394
{
 
395
        g_return_val_if_fail (SYNCDAEMON_IS_DAEMON (daemon), NULL);
 
396
 
 
397
        return get_interface (daemon, "/events", syncdaemon_events_interface_new);
 
398
}
 
399
 
 
400
/**
389
401
 * syncdaemon_daemon_get_status_interface:
390
402
 */
391
403
SyncdaemonInterface *