# Path: spotifyconnect/_zeroconfserver.py
# def login_zeroconf():
# def get_info():
# def add_user():
# 
# Path: spotifyconnect/utils.py
# PY2 = sys.version_info[0] == 2
# class EventEmitter(object):
# class _Listener(collections.namedtuple(
#         'Listener', ['callback', 'user_args'])):
# class IntEnum(int):
#     def __init__(self):
#     def on(self, event, listener, *user_args):
#     def off(self, event=None, listener=None):
#     def emit(self, event, *event_args):
#     def num_listeners(self, event=None):
#     def call(self, event, *event_args):
#     def __new__(cls, value):
#     def __repr__(self):
#     def add(cls, name, value):
# def make_enum(lib_prefix, enum_prefix=''):
#     def wrapper(cls):
# def to_bytes(value):
# def to_bytes_or_none(value):
# def to_char(value):
# def to_char_or_null(value):
# def to_unicode(value):
# def to_unicode_or_none(value):


from multiprocessing import Process
from spotifyconnect import _zeroconfserver, utils
from __future__ import unicode_literals




__all__ = [
    'Zeroconf',
    'AvahiZeroConfServer'
]


class Zeroconf(object):

    """A Spotify ZeroConf object.
    """

    def __init__(self, sp_zeroconf):

        self.public_key = utils.to_unicode(sp_zeroconf.publicKey)

# Path: spotifyconnect/_zeroconfserver.py
# def login_zeroconf():
# def get_info():
# def add_user():
# 
# Path: spotifyconnect/utils.py
# PY2 = sys.version_info[0] == 2
# class EventEmitter(object):
# class _Listener(collections.namedtuple(
#         'Listener', ['callback', 'user_args'])):
# class IntEnum(int):
#     def __init__(self):
#     def on(self, event, listener, *user_args):
#     def off(self, event=None, listener=None):
#     def emit(self, event, *event_args):
#     def num_listeners(self, event=None):
#     def call(self, event, *event_args):
#     def __new__(cls, value):
#     def __repr__(self):
#     def add(cls, name, value):
# def make_enum(lib_prefix, enum_prefix=''):
#     def wrapper(cls):
# def to_bytes(value):
# def to_bytes_or_none(value):
# def to_char(value):
# def to_char_or_null(value):
# def to_unicode(value):
# def to_unicode_or_none(value):


# Path: spotifyconnect/zeroconf.py
from multiprocessing import Process
from spotifyconnect import _zeroconfserver, utils

from __future__ import unicode_literals




__all__ = [
    'Zeroconf',
    'AvahiZeroConfServer'
]


class Zeroconf(object):

    """A Spotify ZeroConf object.
    """

    def __init__(self, sp_zeroconf):

        self.public_key = utils.to_unicode(sp_zeroconf.publicKey)

        self.device_id = utils.to_unicode(sp_zeroconf.deviceId)