HOST_APP_TABLE

Struct HOST_APP_TABLE 

Source
#[repr(C)]
pub struct HOST_APP_TABLE {
Show 13 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)),
}
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 : スクリプトモジュール構造体

§register_import_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_import: unsafe extern "C" fn(*mut EDIT_SECTION))

インポートメニューを登録する name : インポートメニューの名称 func_proc_import : インポートメニュー選択時のコールバック関数

§register_export_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_export: unsafe extern "C" fn(*mut EDIT_SECTION))

エクスポートメニューを登録する 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 : プロジェクトファイルのセーブ時のコールバック関数

§register_layer_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_layer_menu: unsafe extern "C" fn(*mut EDIT_SECTION))

レイヤーメニューを登録する (レイヤー編集でオブジェクト未選択時の右クリックメニューに追加されます) name : レイヤーメニューの名称 func_proc_layer_menu : レイヤーメニュー選択時のコールバック関数

§register_object_menu: unsafe extern "C" fn(name: LPCWSTR, func_proc_object_menu: unsafe extern "C" fn(*mut EDIT_SECTION))

オブジェクトメニューを登録する (レイヤー編集でオブジェクト選択時の右クリックメニューに追加されます) name : オブジェクトメニューの名称 func_proc_object_menu : オブジェクトメニュー選択時のコールバック関数

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.