Browse Source

PYADPT-55 Expose enum _PEP_color

PYADPT-55
heck 2 years ago
parent
commit
40ac9a7360
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/pEpmodule.cc

+ 7
- 0
src/pEpmodule.cc View File

@ -477,6 +477,13 @@ BOOST_PYTHON_MODULE(pEp)
.value("PEP_rating_b0rken", PEP_rating_b0rken)
.value("PEP_rating_under_attack", PEP_rating_under_attack);
enum_<PEP_color>("PEP_color")
.value("PEP_color_no_color", PEP_color_no_color)
.value("PEP_color_yellow", PEP_color_yellow)
.value("PEP_color_green", PEP_color_green)
.value("PEP_color_red", PEP_color_red);
def("incoming_message", &incoming_message,
"msg = incoming_message(mime_text)\n"
"\n"


Loading…
Cancel
Save