* Corrected small things to make Circ-git compile from within MonoDevelop
[circ.git] / Circ.Frontend.GtkSharp / Factory.cs
blobde9e58d1f7bf8c9488608dfa756247a5f301bf53
1 #region License
2 /* Circ.Frontend.GtkSharp : GTK# frontend for Circ
3 * Copyright (C) 2007 LAVAL Jérémie
5 * This file is licensed under the terms of the LGPL.
7 * For the complete licence see the file COPYING.
8 */
9 #endregion
10 using System;
11 using Circ.Frontend;
12 using Circ.Controller;
14 namespace Circ.Frontend.GtkSharp
16 public class Factory: Circ.Frontend.IFactory
18 public IChannelPanel GetChannelPanel(IServerPanel servPanel, IChannelControl ctrl)
20 return new ChannelPanel(servPanel, ctrl);
24 public IServerPanel GetServerPanel(IConnectionControl ctrl)
26 return new ServerPanel(ctrl);