Example #1
0
def main():
    # XXX. test
    data_directory = './tmp_apaf'  # tempfile.mktemp(dir='./')
    os.mkdir(data_directory)

    base.main(data_directory=data_directory)
    reactor.run()
Example #2
0
def main():
    # XXX. test
    data_directory = './tmp_apaf' # tempfile.mktemp(dir='./')
    os.mkdir(data_directory)

    base.main(data_directory=data_directory)
    reactor.run()
Example #3
0
def start_apaf():
    """
    Start the apaf.
    It gets called asyncronously by ApafAppWrapper didFinishLoading
    """
    base.main().addCallback(setup_complete).addErrback(setup_failed)
    reactor.interleave(AppHelper.callAfter)
Example #4
0
def start_apaf():
    """
    Start the apaf.
    It gets called asyncronously by ApafAppWrapper didFinishLoading
    """
    base.main().addCallback(setup_complete).addErrback(setup_failed)
    reactor.interleave(AppHelper.callAfter)
Example #5
0
def std_main():
    from apaf.run import base
    from twisted.internet import reactor

    base.main().addCallback(base.setup_complete).addErrback(base.setup_failed)
    reactor.run()
Example #6
0
File: main.py Project: djon3s/APAF
def std_main():
    from apaf.run import base
    from twisted.internet import reactor

    base.main().addCallback(base.setup_complete).addErrback(base.setup_failed)
    reactor.run()
Example #7
0
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)
Example #8
0
 def SvcDoRun(self):
     from apaf.run import base
     base.main()
     reactor.run()
Example #9
0
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)
    reactor.interleave(win32gui.PumpMessages)
Example #10
0
File: win32.py Project: djon3s/APAF
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)