mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
added basic support for an embedded HTTP server. server
currently supports editing the screen map but changing the map won't behave correctly if there are connected screens.
This commit is contained in:
@@ -75,6 +75,18 @@ void CScreenMap::disconnect(const CString& srcName,
|
||||
index->second.m_neighbor[srcSide - kFirstDirection].erase();
|
||||
}
|
||||
|
||||
CScreenMap::const_iterator
|
||||
CScreenMap::begin() const
|
||||
{
|
||||
return const_iterator(m_map.begin());
|
||||
}
|
||||
|
||||
CScreenMap::const_iterator
|
||||
CScreenMap::end() const
|
||||
{
|
||||
return const_iterator(m_map.end());
|
||||
}
|
||||
|
||||
CString CScreenMap::getNeighbor(const CString& srcName,
|
||||
EDirection srcSide) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user