ultimatepp/bazaar/CtrlLibBoostPy/Misc.cpp
kohait 1b5b6c8dd8 bazaar: BoostPyTest: added some more controls, now works under Linux as well
git-svn-id: svn://ultimatepp.org/upp/trunk@3552 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-22 13:22:00 +00:00

21 lines
667 B
C++

#include "Common.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