~ubuntu-branches/ubuntu/gutsy/tomboy/gutsy-updates

« back to all changes in this revision

Viewing changes to Tomboy/dbus-sharp/dbus-sharp/src/Server.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-11-22 19:22:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20061122192217-odnb17d1ib22okof
Tags: 0.5.1-0ubuntu1
* New upstream release:
  + New Managed D-Bus/DBusSharp (Sebastian Dröge)
  + Additional search interface improvements
  + More secure wrapper script to launch Tomboy.exe
  + Fix panel and TrayIcon resizing
  + Fix 1x1 pixel TrayIcon
  + Removed old tintin image
* debian/control:
  + Update build dependencies
* debian/patches/01-dbus0.9.patch,
  debian/patches/50_tintin.patch,
  debian/patches/51_tomboy-dllmap.patch,
  debian/patches/52_external-dbus-sharp.patch,
  debian/patches/53_tomboy-tray-icon.patch:
  + Dropped, merged upstream
* debian/rules,
  debian/tomboy.desktop:
  + Use upstream's desktop file again after it was fixed now
* debian/rules:
  + DBus service file path workaround removed, it's fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2006 Alp Toker <alp@atoker.com>
 
2
// This software is made available under the MIT License
 
3
// See COPYING for details
 
4
 
 
5
using System;
 
6
using System.IO;
 
7
using System.Net;
 
8
using System.Net.Sockets;
 
9
 
 
10
namespace NDesk.DBus
 
11
{
 
12
        //TODO: complete this class
 
13
        public class Server
 
14
        {
 
15
                public void Listen (string address)
 
16
                {
 
17
                        this.address = address;
 
18
                }
 
19
 
 
20
                public void Disconnect ()
 
21
                {
 
22
                }
 
23
 
 
24
                public bool IsConnected
 
25
                {
 
26
                        get {
 
27
                                return true;
 
28
                        }
 
29
                }
 
30
 
 
31
                protected string address;
 
32
                public string Address
 
33
                {
 
34
                        get {
 
35
                                return address;
 
36
                        }
 
37
                }
 
38
 
 
39
                //TODO: new connection event/virtual method
 
40
        }
 
41
}