medit/moo/gendef.py
2010-02-14 23:43:17 -08:00

326 lines
7.3 KiB
Python

exports = {}
exports['base'] = """\
_moo_log
moo_set_log_func_file
moo_set_log_func_file
moo_set_log_func_window
_moo_normalize_file_path
_moo_normalize_file_path
moo_win_plugin_get_type
moo_win_plugin_get_type
moo_edit_window_remove_pane
moo_edit_window_remove_pane
moo_edit_window_remove_pane
moo_cmd_view_abort
moo_line_view_end_line
moo_line_view_end_line
moo_line_view_write
moo_line_view_write
moo_line_view_start_line
moo_line_view_start_line
moo_line_view_set_data
moo_line_view_write_line
moo_line_view_write_line
moo_line_view_set_cursor
moo_ui_xml_add_item
moo_ui_xml_new_merge_id
moo_ui_xml_new_merge_id
moo_ui_xml_new_merge_id
moo_window_class_new_action
moo_window_class_new_action
moo_editor_get_ui_xml
moo_editor_get_ui_xml
moo_editor_instance
moo_editor_instance
moo_editor_instance
moo_edit_window_get_type
moo_edit_window_get_type
moo_edit_window_get_type
moo_edit_window_get_type
moo_edit_window_get_type
moo_win_plugin_lookup
moo_ui_xml_remove_ui
moo_ui_xml_remove_ui
moo_window_class_remove_action
moo_window_class_remove_action
moo_combo_set_active
moo_combo_get_type
moo_help_connect_keys
moo_help_connect_keys
moo_help_set_id
moo_help_set_id
moo_help_set_id
moo_help_set_id
moo_window_set_parent
moo_window_set_parent
moo_glade_xml_set_property
moo_glade_xml_parse_memory
moo_glade_xml_parse_memory
moo_glade_xml_parse_memory
moo_glade_xml_get_widget
moo_glade_xml_get_widget
moo_glade_xml_get_widget
moo_glade_xml_get_widget
moo_glade_xml_get_widget
moo_glade_xml_new_empty
moo_glade_xml_new_empty
moo_glade_xml_new_empty
moo_glade_xml_new_empty
moo_glade_xml_new_empty
_moo_file_entry_completion_set_entry
_moo_file_entry_completion_get_type
moo_history_list_add
moo_history_list_is_empty
moo_history_list_get
moo_text_view_get_selection
moo_text_view_get_type
moo_edit_window_get_active_doc
moo_edit_window_get_active_doc
moo_edit_window_get_active_doc
_moo_file_entry_completion_set_path
moo_edit_get_filename
moo_edit_get_filename
moo_edit_get_filename
moo_big_paned_present_pane
moo_line_view_clear
moo_line_view_get_type
moo_history_combo_commit
moo_edit_window_get_pane
moo_edit_window_get_pane
moo_pane_label_free
moo_pane_label_free
moo_pane_label_free
moo_edit_window_add_pane
moo_edit_window_add_pane
moo_edit_window_add_pane
moo_text_view_lookup_tag
moo_line_view_create_tag
moo_line_view_create_tag
moo_edit_window_add_stop_client
moo_cmd_view_get_type
moo_pane_label_new
moo_pane_label_new
moo_pane_label_new
moo_history_combo_get_list
_moo_file_entry_completion_get_path
moo_cmd_view_run_command
moo_editor_open_file_line
moo_edit_window_get_editor
moo_edit_window_get_editor
moo_line_view_get_data
moo_plugin_register
moo_plugin_register
moo_plugin_register
moo_plugin_register
moo_plugin_get_type
moo_plugin_get_type
moo_plugin_get_type
moo_plugin_get_type
moo_pane_set_drag_dest
moo_pane_set_drag_dest
moo_big_paned_find_pane
moo_big_paned_find_pane
moo_get_named_user_data_file
_moo_tree_view_setup_expander
moo_editor_open_uri
moo_editor_set_active_doc
moo_markup_doc_unref
moo_markup_doc_unref
moo_markup_get_prop
moo_markup_get_prop
moo_markup_get_prop
moo_markup_get_root_element
moo_markup_get_root_element
moo_markup_parse_file
moo_markup_parse_file
moo_atom_uri_list
moo_edit_get_uri
moo_edit_get_display_basename
moo_edit_get_display_basename
moo_edit_get_display_name
moo_edit_window_list_docs
moo_edit_window_list_docs
moo_edit_get_type
moo_edit_get_type
moo_edit_get_type
moo_edit_get_type
_moo_tree_view_select_first
_moo_tree_view_select_first
_moo_tree_view_select_first
moo_save_config_file
moo_unlink
moo_unlink
moo_file_view_get_type
_moo_signal_new_cb
_moo_file_view_add_target
moo_prefs_set_filename
moo_open_file
moo_editor_open_file
moo_mime_type_is_subclass
moo_get_mime_type_for_filename
moo_get_mime_type_for_file
moo_file_view_chdir
moo_action_collection_get_action
moo_file_view_get_actions
moo_ui_xml_insert_markup_before
_moo_file_view_setup_button_drag_dest
moo_ui_xml_insert_markup
moo_ui_xml_insert_markup
moo_action_group_add_action
moo_file_view_get_ui_xml
moo_action_collection_get_group
moo_prefs_get_string
moo_edit_save
moo_edit_save
moo_editor_new_file
_moo_file_view_get_filenames
moo_error_dialog
moo_bind_bool_property
moo_entry_clear_undo
_moo_file_view_drag_finish
moo_selection_data_get_pointer
_moo_file_view_select_name
_moo_get_modifiers
moo_edit_is_untitled
moo_edit_is_untitled
moo_edit_is_untitled
moo_edit_save_as
moo_overwrite_file_dialog
moo_entry_get_type
moo_edit_get_encoding
moo_edit_save_copy
_moo_menu_item_set_accel_label
moo_menu_new
_moo_menu_item_set_label
_moo_file_view_tools_load
moo_prefs_create_key
_moo_bookmark_mgr_new
moo_plugin_method_new
_moo_marshal_OBJECT__OBJECT
moo_edit_class_remove_action
moo_edit_class_new_action
moo_edit_window_set_action_filter
moo_edit_window_set_action_check
moo_window_class_new_group
moo_window_class_find_group
moo_edit_action_get_type
moo_editor_get_doc_ui_xml
moo_ui_xml_insert
moo_ui_xml_get_node
moo_get_data_subdirs
moo_get_data_subdirs
moo_get_data_subdirs
_moo_strv_reverse
_moo_strv_reverse
moo_save_user_data_file
_moo_action_get_window
moo_edit_get_window
moo_edit_get_window
moo_edit_action_get_doc
_moo_get_pid_string
moo_get_user_data_dir
moo_text_view_get_cursor_line
moo_text_buffer_get_type
moo_text_buffer_add_fold
_moo_tree_helper_new
moo_prefs_page_new
moo_prefs_page_new
moo_glade_xml_fill_widget
moo_glade_xml_fill_widget
_moo_tree_helper_update_model
_moo_tree_helper_update_model
moo_markup_set_prop
moo_markup_create_text_element
moo_markup_create_element
moo_markup_delete_node
moo_markup_get_element
moo_prefs_get_markup
_moo_tree_helper_set_modified
_moo_tree_helper_get_modified
_moo_tree_helper_update_widgets
_moo_tree_helper_update_widgets
moo_markup_get_content
_moo_tree_helper_set
moo_edit_get_status
_moo_convert_string_to_bool
moo_line_reader_get_line
moo_line_reader_init
_moo_tree_helper_get_type
_moo_tree_helper_get_type
moo_output_filter_get_type
moo_file_line_data_free
moo_line_view_set_boxed
moo_file_line_data_get_type
moo_output_filter_get_view
_moo_convert_string_to_int
moo_file_line_data_new
moo_output_filter_get_active_file
moo_output_filter_get_active_dirs
_moo_text_style_apply_to_tag
_moo_text_style_scheme_lookup_style
moo_lang_mgr_get_active_scheme
moo_lang_mgr_default
moo_line_view_lookup_tag
lua_close
_moo_edit_lua_cleanup
lua_pcall
_moo_edit_lua_set_doc
lua_settop
lua_tolstring
luaL_loadstring
_moo_edit_lua_add_api
luaL_openlibs
luaL_newstate
lua_addpath
moo_text_view_set_lang_by_id
moo_text_view_set_font_from_string
moo_text_view_get_text
_moo_tree_helper_connect
moo_gettext
moo_app_run
moo_app_open_files
moo_app_load_session
moo_app_init
moo_app_get_type
moo_app_send_files
moo_app_send_msg
moo_plugin_read_dirs
moo_win32_get_app_dir
_moo_str_equal
moo_editor_new_window
moo_editor_get_active_window
moo_app_get_editor
"""
exports['test'] = """\
moo_test_get_result
moo_test_cleanup
moo_test_run_tests
moo_test_editor
moo_test_mooedit_lua_api
moo_test_lua
moo_test_mooutils_win32
moo_test_mooutils_misc
moo_test_moo_file_writer
moo_test_mooutils_fs
moo_test_mooaccel
moo_test_gobject
moo_test_suite_add_test
moo_test_suite_new
moo_test_assert_impl
moo_test_assert_msg
"""
import sys
all_exports = [exports['base']]
if len(sys.argv) > 2:
for a in sys.argv[2:]:
all_exports.append(exports[a])
out = open(sys.argv[1], 'w')
print >> out, "EXPORTS"
for s in all_exports:
out.write(s)
out.close()