mirror of https://github.com/deavminet/gustav.git
Restructure and inherit
This commit is contained in:
parent
d4912089b1
commit
31611d6f94
|
@ -10,7 +10,7 @@ import std.socket;
|
|||
import gtk.ListBox;
|
||||
import gtk.Label;
|
||||
|
||||
import Channel;
|
||||
import areas.Channel;
|
||||
import std.string;
|
||||
|
||||
import core.sync.mutex;
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* along with the input box state
|
||||
*/
|
||||
|
||||
module areas.Channel;
|
||||
|
||||
import gtk.Box;
|
||||
import gtk.ListBox;
|
||||
import gtk.Label;
|
||||
|
@ -27,8 +29,9 @@ import pango.PgAttribute;
|
|||
import Connection;
|
||||
|
||||
import gogga;
|
||||
import areas.MessageArea;
|
||||
|
||||
public final class Channel
|
||||
public final class Channel : MessageArea
|
||||
{
|
||||
private DClient client;
|
||||
private Connection connection;
|
|
@ -7,6 +7,8 @@
|
|||
* The sub-classes are "Direct Message" and "Channel"
|
||||
*/
|
||||
|
||||
module areas.MessageArea;
|
||||
|
||||
public class MessageArea
|
||||
{
|
||||
/* TODO: Implement me */
|
|
@ -21,7 +21,7 @@ import gtk.SearchEntry;
|
|||
import gtk.Image;
|
||||
|
||||
import Connection;
|
||||
import Channel;
|
||||
import areas.Channel;
|
||||
import std.socket;
|
||||
|
||||
import std.conv;
|
||||
|
|
Loading…
Reference in New Issue