def add_app(self, app_attrs, top_win):
    if self.multiple_files:
        self.lang_mapping['pl_import'] = ('\nuse %s;\n' % top_win.klass)
    else:
        self.lang_mapping['pl_import'] = ''
    BaseLangCodeWriter.add_app(self, app_attrs, top_win)
def add_app(self, app_attrs, top_win):
    if self.multiple_files:
        self.lang_mapping['pl_import'] = ('\nuse %s;\n' % top_win.klass)
    else:
        self.lang_mapping['pl_import'] = 
    BaseLangCodeWriter.add_app(self, app_attrs, top_win)