diff options
Diffstat (limited to 'src/dalstorage.h')
-rw-r--r-- | src/dalstorage.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dalstorage.h b/src/dalstorage.h index c2257c6e..0867ef4c 100644 --- a/src/dalstorage.h +++ b/src/dalstorage.h @@ -120,6 +120,20 @@ class DALStorage: public Storage getMapNameFromId(const unsigned int mapId); /** + * Gives the list of opened public channels registered in database + * @return a map of the public channels + */ + const std::map<short, std::string> + getChannelList(); + + /** + * apply channel differences from the list in memory + * to the one in db. + */ + void + updateChannels(std::map<short, std::string> channelList); + + /** * Save changes to the database permanently. * * @exception tmwserv::dal::DbSqlQueryExecFailure. |