Class e.c.l.Launcher(object):

Part of elisa.core.launcher View In Hierarchy

Known subclasses: elisa.core.tests.test_launcher.LauncherMock

No class docstring
Line # Kind Name Docs
49 Method main --> This is where you should start reading the source code <--
73 Method set_win_environment_pre_voodoo Undocumented
88 Method main_before_voodoo Undocumented
180 Method main_after_voodoo Undocumented
204 Method set_win_environment_after_voodoo Undocumented
226 Method poke_running_instance Undocumented
234 Method poke_unix_running_instance Undocumented
270 Method poke_win_running_instance Undocumented
306 Method info Undocumented
309 Method error Undocumented
312 Method get_platform Undocumented
316 Method get_environment Undocumented
319 Method get_win_prefix Undocumented
323 Method add_environment_path Undocumented
329 Method run_application Undocumented
359 Method exit Undocumented
def main(self, argv):
--> This is where you should start reading the source code <--

The main entry point is split in two parts: main_before_voodoo() and main_after_voodoo().

The first function does all kinds of black magic to try and load the most recent version of elisa.core. It should be AS MINIMAL AS IT CAN BE and SHOULD NEVER BE MODIFIED. When we ship a new version of the core in ~/.elisa-0.5/plugins, an OLD VERSION OF THE FUNCTION (the one installed in a systemwide path) WILL BE EXECUTED anyway.

The second function does the actual initialization. If main_before_voodoo() is done right (as we're sure it is since I wrote it), the latest available version of main_after_voodoo() will be executed.

Yes, that's right. I'm awesome.

def set_win_environment_pre_voodoo(self):
Undocumented
def main_before_voodoo(self):
Undocumented
def main_after_voodoo(self, argv):
Undocumented
def set_win_environment_after_voodoo(self):
Undocumented
def poke_running_instance(self):
Undocumented
def poke_unix_running_instance(self):
Undocumented
def poke_win_running_instance(self):
Undocumented
def info(self, message):
Undocumented
def error(self, message):
Undocumented
def get_platform(self):
Undocumented
def get_environment(self):
Undocumented
def get_win_prefix(self):
Undocumented
def add_environment_path(self, variable, entries):
Undocumented
def run_application(self):
Undocumented
def exit(self, code):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2008-12-01 12:03:30.