# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (3, 0, 0):
    new_instancemethod = lambda func, inst, cls: _merlin_filemover.SWIG_PyInstanceMethod_New(func)
else:
    from new import instancemethod as new_instancemethod
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_merlin_filemover')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_merlin_filemover')
    _merlin_filemover = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_merlin_filemover', [dirname(__file__)])
        except ImportError:
            import _merlin_filemover
            return _merlin_filemover
        try:
            _mod = imp.load_module('_merlin_filemover', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _merlin_filemover = swig_import_helper()
    del swig_import_helper
else:
    import _merlin_filemover
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        object.__setattr__(self, name, value)
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_method(set):
    def set_attr(self, name, value):
        if (name == "thisown"):
            return self.this.own(value)
        if hasattr(self, name) or (name == "this"):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add attributes to %s" % self)
    return set_attr


try:
    import weakref
    weakref_proxy = weakref.proxy
except __builtin__.Exception:
    weakref_proxy = lambda x: x


import enigma
class eFileMover(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self):
        _merlin_filemover.eFileMover_swiginit(self, _merlin_filemover.new_eFileMover())
    __swig_destroy__ = _merlin_filemover.delete_eFileMover
    moveTo = staticmethod(_merlin_filemover.eFileMover_moveTo)
eFileMover_swigregister = _merlin_filemover.eFileMover_swigregister
eFileMover_swigregister(eFileMover)

def eFileMover_moveTo(filename, path):
    return _merlin_filemover.eFileMover_moveTo(filename, path)
eFileMover_moveTo = _merlin_filemover.eFileMover_moveTo

class eBackgroundFileMover(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    getInstance = staticmethod(_merlin_filemover.eBackgroundFileMover_getInstance)
    fileMoved = _swig_property(_merlin_filemover.eBackgroundFileMover_fileMoved_get, _merlin_filemover.eBackgroundFileMover_fileMoved_set)
eBackgroundFileMover.moveTo = new_instancemethod(_merlin_filemover.eBackgroundFileMover_moveTo, None, eBackgroundFileMover)
eBackgroundFileMover_swigregister = _merlin_filemover.eBackgroundFileMover_swigregister
eBackgroundFileMover_swigregister(eBackgroundFileMover)

def eBackgroundFileMover_getInstance():
    return _merlin_filemover.eBackgroundFileMover_getInstance()
eBackgroundFileMover_getInstance = _merlin_filemover.eBackgroundFileMover_getInstance

from enigma import WeakMethodReference

class eSlot2CStrCstr(enigma.eSlot):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def __init__(self):
        if self.__class__ == eSlot2CStrCstr:
            _self = None
        else:
            _self = self
        _merlin_filemover.eSlot2CStrCstr_swiginit(self, _merlin_filemover.new_eSlot2CStrCstr(_self, ))
    __swig_destroy__ = _merlin_filemover.delete_eSlot2CStrCstr
    def __disown__(self):
        self.this.disown()
        _merlin_filemover.disown_eSlot2CStrCstr(self)
        return weakref_proxy(self)
eSlot2CStrCstr.cb_func = new_instancemethod(_merlin_filemover.eSlot2CStrCstr_cb_func, None, eSlot2CStrCstr)
eSlot2CStrCstr_swigregister = _merlin_filemover.eSlot2CStrCstr_swigregister
eSlot2CStrCstr_swigregister(eSlot2CStrCstr)

class eSignal2CStrCstr(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr

    def connect(self, func):
        class ePythonSlot2CStrCstr(eSlot2CStrCstr):
            def __init__(self, func):
                eSlot2CStrCstr.__init__(self)
                self.cb_func=func
        slot = ePythonSlot2CStrCstr(WeakMethodReference(func))
        self.connect2(slot)
        return slot

    def __init__(self):
        _merlin_filemover.eSignal2CStrCstr_swiginit(self, _merlin_filemover.new_eSignal2CStrCstr())
    __swig_destroy__ = _merlin_filemover.delete_eSignal2CStrCstr
eSignal2CStrCstr.connect2 = new_instancemethod(_merlin_filemover.eSignal2CStrCstr_connect2, None, eSignal2CStrCstr)
eSignal2CStrCstr_swigregister = _merlin_filemover.eSignal2CStrCstr_swigregister
eSignal2CStrCstr_swigregister(eSignal2CStrCstr)



