예제 #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()
예제 #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()
예제 #3
0
파일: darwin.py 프로젝트: theassyrian/APAF
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)
예제 #4
0
파일: darwin.py 프로젝트: Acidburn0zzz/APAF
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)
예제 #5
0
파일: main.py 프로젝트: Acidburn0zzz/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()
예제 #6
0
파일: main.py 프로젝트: 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()
예제 #7
0
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)
예제 #8
0
파일: win32.py 프로젝트: Acidburn0zzz/APAF
 def SvcDoRun(self):
     from apaf.run import base
     base.main()
     reactor.run()
예제 #9
0
파일: win32.py 프로젝트: Acidburn0zzz/APAF
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)
    reactor.interleave(win32gui.PumpMessages)
예제 #10
0
파일: win32.py 프로젝트: djon3s/APAF
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)