Remove RemoveSourceProperty.

This commit is contained in:
Peter Johnson
2016-10-24 22:29:58 -07:00
parent 511d551546
commit 7ca6c5ef34
8 changed files with 0 additions and 104 deletions

View File

@@ -125,8 +125,6 @@ public class CameraServerJNI {
// int type, int minimum, int maximum, int step, int defaultValue, int value,
// void (*onChange)(int property));
public static native void setSourceEnumPropertyChoices(int source, int property, String[] choices);
public static native void removeSourceProperty(int source, int property);
public static native void removeSourcePropertyByName(int source, String name);
//
// Sink Creation Functions

View File

@@ -87,16 +87,4 @@ public class CvSource extends VideoSource {
public void SetEnumPropertyChoices(VideoProperty property, String[] choices) {
CameraServerJNI.setSourceEnumPropertyChoices(m_handle, property.m_handle, choices);
}
/// Remove a property.
/// @param name Property name
public void removeProperty(VideoProperty property) {
CameraServerJNI.removeSourceProperty(m_handle, property.m_handle);
}
/// Remove a property.
/// @param name Property name
public void removeProperty(String name) {
CameraServerJNI.removeSourcePropertyByName(m_handle, name);
}
}