ultimatepp/bazaar/CtrlLibBoostPy/Misc.cpp
kohait ba9eb36262 bazaar: BoostPyTest: some new exports, like TopWindow, Log, Prompt, Progress, Callback soon to come
git-svn-id: svn://ultimatepp.org/upp/trunk@3410 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-05-10 19:39:30 +00:00

21 lines
665 B
C++

#include "Misc.h"
using namespace boost::python;
NAMESPACE_UPP
void export_Prompts()
{
ONCELOCK
{
def("promptok", &PromptOK, "Prompts OK");
def("promptokcancel", &PromptOKCancel, "Prompts OK/Cancel");
def("promptabortretry", &PromptAbortRetry, "Prompts Abort/Retry");
def("promptabortretryignore", &PromptAbortRetryIgnore, "Prompts Abort/Retry/Ignore");
def("promptretrycancel", &PromptRetryCancel, "Prompts Retry/Cancel");
def("promptyesno", &PromptYesNo, "Prompts Yes/No");
def("promptyesnocancel", &PromptYesNoCancel, "Prompts Yes/No/Cancel");
def("exclamation", &Exclamation, "Exclamates an Error Dialog");
}
}
END_UPP_NAMESPACE