Esempio n. 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()
Esempio n. 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()
Esempio n. 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)
Esempio n. 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)
Esempio n. 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()
Esempio n. 6
0
File: main.py Progetto: 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()
Esempio n. 7
0
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)
Esempio n. 8
0
 def SvcDoRun(self):
     from apaf.run import base
     base.main()
     reactor.run()
Esempio n. 9
0
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)
    reactor.interleave(win32gui.PumpMessages)
Esempio n. 10
0
File: win32.py Progetto: djon3s/APAF
def start_apaf():
    base.main().addCallback(setup_complete).addErrback(base.setup_failed)