From 39a8195386fc53a704536c788f858abf661ca6f7 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 28 Oct 2016 00:46:43 -0700 Subject: [PATCH] CvSourceImpl: Add stub for CreateProperty(callback). --- src/CvSourceImpl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/CvSourceImpl.cpp b/src/CvSourceImpl.cpp index 816b9bb788..f43536e94f 100644 --- a/src/CvSourceImpl.cpp +++ b/src/CvSourceImpl.cpp @@ -128,6 +128,14 @@ CS_Property CvSourceImpl::CreateProperty(llvm::StringRef name, return ndx; } +CS_Property CvSourceImpl::CreateProperty( + llvm::StringRef name, CS_PropertyType type, int minimum, int maximum, + int step, int defaultValue, int value, + std::function onChange) { + // TODO + return 0; +} + void CvSourceImpl::SetEnumPropertyChoices(CS_Property property, llvm::ArrayRef choices, CS_Status* status) {