Added stub for User area

This commit is contained in:
Tristan B. Kildaire 2021-01-28 11:43:24 +02:00
parent 31611d6f94
commit a9b3617b0d
1 changed files with 43 additions and 0 deletions

43
source/areas/User.d Normal file
View File

@ -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()
{
}