# Path: core/channel.py
# class ChannelManager:
#     def __init__(self, db_dir, logger, network_name=None, validator=None):
#     def getList(self):
#     def getListFromNetwork(self, network_name):
#     def add(self, channel):
#     def addForNetwork(self, network_name, channel):
#     def delete(self, channel):
#     def delForNetwork(self, network_name, channel):
#     def makeNetworkDB(self):
#     def formatDBFileName(self, db_name):
# 
# Path: tools/hostmask.py
# def match(hostmask, matchhost, require_nickname=False):
# 
# Path: tools/logger.py
# class Logger:
#     def __init__(self, network_name, logDir=False, verbose=False,
#                  timestamp="%H:%M", logTimestamp="%Y-%m-%d %H:%M:%S", useColours=True):
#     def log(self, text):
#     def warning(self, text):
#     def notice(self, text):
#     def error(self, text):
#     def event(self, event, text):
#     def debug(self, text):
#     def log_verbose(self, text):
#     def notice_verbose(self, text):
#     def setVerbose(self, verbose):
#     def setTimestamp(self, timestamp):
#     def getTimestamp(self):
#     def setLogTimestamp(self, timestamp):
#     def getLogTimestamp(self):
#     def _setColours(self, useColours=True):
#     def _setColoursNone(self):
#     def _write(self, message, file=None):


import json
import os
import sys
from core import channel
from tools import hostmask
from tools import logger
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Zarthus <zarthus@zarth.us>
13 July, 2014.
"""




class Config:
    """
    Parse the config in the root directory (config.json)
    and set variables to its appropriate values.
    """

    networks = {}
    api_keys = {}
    metadata = {}
    modules = {}

    def __init__(self):

# Path: core/channel.py
# class ChannelManager:
#     def __init__(self, db_dir, logger, network_name=None, validator=None):
#     def getList(self):
#     def getListFromNetwork(self, network_name):
#     def add(self, channel):
#     def addForNetwork(self, network_name, channel):
#     def delete(self, channel):
#     def delForNetwork(self, network_name, channel):
#     def makeNetworkDB(self):
#     def formatDBFileName(self, db_name):
# 
# Path: tools/hostmask.py
# def match(hostmask, matchhost, require_nickname=False):
# 
# Path: tools/logger.py
# class Logger:
#     def __init__(self, network_name, logDir=False, verbose=False,
#                  timestamp="%H:%M", logTimestamp="%Y-%m-%d %H:%M:%S", useColours=True):
#     def log(self, text):
#     def warning(self, text):
#     def notice(self, text):
#     def error(self, text):
#     def event(self, event, text):
#     def debug(self, text):
#     def log_verbose(self, text):
#     def notice_verbose(self, text):
#     def setVerbose(self, verbose):
#     def setTimestamp(self, timestamp):
#     def getTimestamp(self):
#     def setLogTimestamp(self, timestamp):
#     def getLogTimestamp(self):
#     def _setColours(self, useColours=True):
#     def _setColoursNone(self):
#     def _write(self, message, file=None):


# Path: core/config.py
import json
import os
import sys
from core import channel
from tools import hostmask
from tools import logger

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Zarthus <zarthus@zarth.us>
13 July, 2014.
"""




class Config:
    """
    Parse the config in the root directory (config.json)
    and set variables to its appropriate values.
    """

    networks = {}
    api_keys = {}
    metadata = {}
    modules = {}

    def __init__(self):

        self.logger = logger.Logger("Configuration")