#[repr(C)]pub struct HOST_APP_TABLE {Show 17 fields
pub set_plugin_information: unsafe extern "C" fn(information: LPCWSTR),
pub register_input_plugin: unsafe extern "C" fn(input_plugin_table: *mut INPUT_PLUGIN_TABLE),
pub register_output_plugin: unsafe extern "C" fn(output_plugin_table: *mut OUTPUT_PLUGIN_TABLE),
pub register_filter_plugin: unsafe extern "C" fn(filter_plugin_table: *mut FILTER_PLUGIN_TABLE),
pub register_script_module: unsafe extern "C" fn(script_module_table: *mut SCRIPT_MODULE_TABLE),
pub register_import_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_import: unsafe extern "C" fn(*mut EDIT_SECTION)),
pub register_export_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_export: unsafe extern "C" fn(*mut EDIT_SECTION)),
pub register_window_client: unsafe extern "C" fn(name: LPCWSTR, hwnd: HWND),
pub create_edit_handle: unsafe extern "C" fn() -> *mut EDIT_HANDLE,
pub register_project_load_handler: unsafe extern "C" fn(func_project_load: unsafe extern "C" fn(*mut PROJECT_FILE)),
pub register_project_save_handler: unsafe extern "C" fn(func_project_save: unsafe extern "C" fn(*mut PROJECT_FILE)),
pub register_layer_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_layer_menu: unsafe extern "C" fn(*mut EDIT_SECTION)),
pub register_object_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_object_menu: unsafe extern "C" fn(*mut EDIT_SECTION)),
pub register_config_menu: unsafe extern "C" fn(name: LPCWSTR, func_config: unsafe extern "C" fn(HWND, HINSTANCE)),
pub register_edit_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_edit_menu: unsafe extern "C" fn(*mut EDIT_SECTION)),
pub register_clear_cache_handler: unsafe extern "C" fn(func_proc_clear_cache: unsafe extern "C" fn(*mut EDIT_SECTION)),
pub register_change_scene_handler: unsafe extern "C" fn(func_proc_change_scene: unsafe extern "C" fn(*mut EDIT_SECTION)),
}Expand description
ホストアプリケーション構造体
Fields§
§set_plugin_information: unsafe extern "C" fn(information: LPCWSTR)プラグインの情報を設定する information : プラグインの情報
register_input_plugin: unsafe extern "C" fn(input_plugin_table: *mut INPUT_PLUGIN_TABLE)入力プラグインを登録する input_plugin_table : 入力プラグイン構造体
register_output_plugin: unsafe extern "C" fn(output_plugin_table: *mut OUTPUT_PLUGIN_TABLE)出力プラグインを登録する output_plugin_table : 出力プラグイン構造体
register_filter_plugin: unsafe extern "C" fn(filter_plugin_table: *mut FILTER_PLUGIN_TABLE)フィルタプラグインを登録する filter_plugin_table : フィルタプラグイン構造体
register_script_module: unsafe extern "C" fn(script_module_table: *mut SCRIPT_MODULE_TABLE)スクリプトモジュールを登録する script_module_table : スクリプトモジュール構造体
インポートメニューを登録する name : インポートメニューの名称 func_proc_import : インポートメニュー選択時のコールバック関数
エクスポートメニューを登録する name : エクスポートメニューの名称 func_proc_export : エクスポートメニュー選択時のコールバック関数
register_window_client: unsafe extern "C" fn(name: LPCWSTR, hwnd: HWND)ウィンドウクライアントを登録する name : ウィンドウの名称 hwnd : ウィンドウハンドル ウィンドウにはWS_CHILDが追加され親ウィンドウが設定されます ※WS_POPUPは削除されます
create_edit_handle: unsafe extern "C" fn() -> *mut EDIT_HANDLEプロジェクトデータ編集用のハンドルを取得します 戻り値 : 編集ハンドル
register_project_load_handler: unsafe extern "C" fn(func_project_load: unsafe extern "C" fn(*mut PROJECT_FILE))プロジェクトファイルをロードした直後に呼ばれる関数を登録する ※プロジェクトの初期化時にも呼ばれます func_project_load : プロジェクトファイルのロード時のコールバック関数
register_project_save_handler: unsafe extern "C" fn(func_project_save: unsafe extern "C" fn(*mut PROJECT_FILE))プロジェクトファイルをセーブする直前に呼ばれる関数を登録する func_project_save : プロジェクトファイルのセーブ時のコールバック関数
レイヤーメニューを登録する (レイヤー編集でオブジェクト未選択時の右クリックメニューに追加されます) name : レイヤーメニューの名称 func_proc_layer_menu : レイヤーメニュー選択時のコールバック関数
オブジェクトメニューを登録する (レイヤー編集でオブジェクト選択時の右クリックメニューに追加されます) name : オブジェクトメニューの名称 func_proc_object_menu : オブジェクトメニュー選択時のコールバック関数
設定メニューを登録する 設定メニューの登録後にウィンドウクライアントを登録するとシステムメニューに「設定」が追加されます name : 設定メニューの名称 func_config : 設定メニュー選択時のコールバック関数
編集メニューを登録する name : 編集メニューの名称 ※名称に’'を入れると表示を階層に出来ます func_proc_edit_menu : 編集メニュー選択時のコールバック関数
register_clear_cache_handler: unsafe extern "C" fn(func_proc_clear_cache: unsafe extern "C" fn(*mut EDIT_SECTION))キャッシュを破棄の操作時に呼ばれる関数を登録する func_proc_clear_cache : キャッシュの破棄時のコールバック関数
register_change_scene_handler: unsafe extern "C" fn(func_proc_change_scene: unsafe extern "C" fn(*mut EDIT_SECTION))シーンを変更した直後に呼ばれる関数を登録する ※シーンの設定情報が更新された時にも呼ばれます func_proc_change_scene : シーン変更時のコールバック関数