No longer need to pass a MessageManager when constructing the ChatDirector.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@979 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2010-10-14 15:53:05 +00:00
parent 028b55b461
commit f61338ec1d
2 changed files with 12 additions and 12 deletions
@@ -127,7 +127,7 @@ public class MiCasaClient
_occdir = new OccupantDirector(_ctx); _occdir = new OccupantDirector(_ctx);
_pardtr = new ParlorDirector(_ctx); _pardtr = new ParlorDirector(_ctx);
_msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX); _msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX);
_chatdir = new ChatDirector(_ctx, _msgmgr, null); _chatdir = new ChatDirector(_ctx, null);
} }
/** /**
@@ -176,6 +176,11 @@ public class MiCasaClient
return _chatdir; return _chatdir;
} }
public MessageManager getMessageManager ()
{
return _msgmgr;
}
public ParlorDirector getParlorDirector () public ParlorDirector getParlorDirector ()
{ {
return _pardtr; return _pardtr;
@@ -196,11 +201,6 @@ public class MiCasaClient
{ {
return _frame; return _frame;
} }
public MessageManager getMessageManager ()
{
return _msgmgr;
}
} }
protected MiCasaContext _ctx; protected MiCasaContext _ctx;
@@ -64,7 +64,7 @@ public class SimpleClient
_locdir = new LocationDirector(_ctx); _locdir = new LocationDirector(_ctx);
_occdir = new OccupantDirector(_ctx); _occdir = new OccupantDirector(_ctx);
_pardtr = new ParlorDirector(_ctx); _pardtr = new ParlorDirector(_ctx);
_chatdir = new ChatDirector(_ctx, _msgmgr, null); _chatdir = new ChatDirector(_ctx, null);
// keep this for later // keep this for later
_frame = frame; _frame = frame;
@@ -148,6 +148,11 @@ public class SimpleClient
return _chatdir; return _chatdir;
} }
public MessageManager getMessageManager ()
{
return _msgmgr;
}
public void setPlaceView (PlaceView view) public void setPlaceView (PlaceView view)
{ {
// stick the place view into our frame // stick the place view into our frame
@@ -163,11 +168,6 @@ public class SimpleClient
{ {
return (MiCasaFrame)_frame; return (MiCasaFrame)_frame;
} }
public MessageManager getMessageManager ()
{
return _msgmgr;
}
} }
protected MiCasaContext _ctx; protected MiCasaContext _ctx;