Toshihiro Shimizu 890ddd
#include "plugin_ui_page_interface.h"
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
int begin_group(toonz_ui_page_handle_t page, const char *name) {
Shinya Kitaoka 120a6e
  if (UIPage *pages = reinterpret_cast<uipage *="">(page)) {</uipage>
Shinya Kitaoka 120a6e
    return pages->begin_group(name);
Shinya Kitaoka 120a6e
  }
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  return TOONZ_ERROR_INVALID_HANDLE;
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
int end_group(toonz_ui_page_handle_t page, const char *name) {
Shinya Kitaoka 120a6e
  if (UIPage *pages = reinterpret_cast<uipage *="">(page)) {</uipage>
Shinya Kitaoka 120a6e
    return pages->end_group(name);
Shinya Kitaoka 120a6e
  }
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  return TOONZ_ERROR_INVALID_HANDLE;
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
int bind_param(toonz_ui_page_handle_t page, toonz_param_handle_t param,
Shinya Kitaoka 120a6e
               toonz_param_view_handle_t traits) {
Shinya Kitaoka 120a6e
  if (UIPage *pages = reinterpret_cast<uipage *="">(page)) {</uipage>
Shinya Kitaoka 120a6e
    if (Param *p = reinterpret_cast<param *="">(param)) {
Shinya Kitaoka 120a6e
      if (ParamView *v = reinterpret_cast<paramview *="">(traits)) {</paramview>
Shinya Kitaoka 120a6e
        return pages->bind_param(p, v);
Shinya Kitaoka 120a6e
      }
Shinya Kitaoka 120a6e
    }
Shinya Kitaoka 120a6e
  }
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  return TOONZ_ERROR_INVALID_HANDLE;
Toshihiro Shimizu 890ddd
}