~zeitgeist-sharp/zeitgeist-sharp/trunk

« back to all changes in this revision

Viewing changes to Zeitgeist/Datamodel/Monitor.cs

  • Committer: Manish Sinha
  • Date: 2010-10-20 14:34:10 UTC
  • Revision ID: mail@manishsinha.net-20101020143410-jufot4fa0vgd0ovy
Added unittest for Monitor

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
                public RawMonitor(string monitorPath)
21
21
                {
22
22
                        ObjectPath objPath = new ObjectPath (monitorPath);
 
23
                        Console.WriteLine("Registering the session bus");
23
24
                        Bus.Session.Register (objPath, this);
 
25
                        Console.WriteLine("Registeredthe session bus");
24
26
                        
25
27
                        loop = new MainLoop();
26
28
                        worker = new BackgroundWorker();
29
31
                                loop.Run();
30
32
                        };
31
33
                        
 
34
                        Console.WriteLine("About to start the mainloop");
32
35
                        worker.RunWorkerAsync();
33
36
                }
34
37