mirror of https://github.com/deavminet/gustav.git
Added stub for User area
This commit is contained in:
parent
31611d6f94
commit
a9b3617b0d
|
@ -0,0 +1,43 @@
|
||||||
|
module areas.User;
|
||||||
|
|
||||||
|
import areas.MessageArea;
|
||||||
|
|
||||||
|
public final class User : MessageArea
|
||||||
|
{
|
||||||
|
private DClient client;
|
||||||
|
private Connection connection;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* USername
|
||||||
|
*/
|
||||||
|
private string username;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The container for this User
|
||||||
|
*/
|
||||||
|
private Box box;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* UI components
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
// private ListBox users;
|
||||||
|
private ListBox textArea;
|
||||||
|
private Entry textInput;
|
||||||
|
|
||||||
|
/* TODO: No mutexes should be needed (same precaution) as the GTK lock provides safety */
|
||||||
|
// private string[] usersString;
|
||||||
|
|
||||||
|
this(Connection connection, string username)
|
||||||
|
{
|
||||||
|
this.client = connection.getClient();
|
||||||
|
this.connection = connection;
|
||||||
|
this.username = username;
|
||||||
|
|
||||||
|
initializeBox();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initializeBox()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue