#include "pxr/pxr.h"
#include "pxr/base/plug/notice.h"
#include "pxr/base/tf/pyResultConversions.h"
#include "pxr/base/tf/pyNoticeWrapper.h"
#include <boost/python/class.hpp>
#include <boost/python/scope.hpp>
using namespace boost::python;
PXR_NAMESPACE_USING_DIRECTIVE
namespace {
TF_INSTANTIATE_NOTICE_WRAPPER(PlugNotice::Base, TfNotice);
TF_INSTANTIATE_NOTICE_WRAPPER(PlugNotice::DidRegisterPlugins, PlugNotice::Base);
}
void
wrapNotice()
{
scope noticeScope = class_<PlugNotice>("Notice", no_init);
TfPyNoticeWrapper<PlugNotice::Base, TfNotice>::Wrap()
;
TfPyNoticeWrapper<PlugNotice::DidRegisterPlugins, PlugNotice::Base>::Wrap()
.def("GetNewPlugins",
make_function(&PlugNotice::DidRegisterPlugins::GetNewPlugins,
return_value_policy<TfPySequenceToList>()))
;
}