* Shop + Plugin is now functionnal, sample Plugin provided to connect to the default...
[circ.git] / Circ.Frontend.GtkSharp / Factory.cs
blobf24f012a136cf98c3f9f5c703440f8d9d1434a68
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 IDiscussionPanel GetDiscussionPanel(IServerPanel servPanel, IChannelControl ctrl)
20 return new ChannelPanel(servPanel, ctrl);
24 public IServerPanel GetServerPanel(IConnectionControl ctrl)
26 return new ServerPanel(ctrl);