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

@@ -163,10 +163,6 @@ CS_Property CS_CreateSourcePropertyCallback(
void CS_SetSourceEnumPropertyChoices(CS_Source source, CS_Property property,
const char** choices, int count,
CS_Status* status);
void CS_RemoveSourceProperty(CS_Source source, CS_Property property,
CS_Status* status);
void CS_RemoveSourcePropertyByName(CS_Source source, const char* name,
CS_Status* status);
//
// Sink Creation Functions

View File

@@ -151,10 +151,6 @@ CS_Property CreateSourcePropertyCallback(
void SetSourceEnumPropertyChoices(CS_Source source, CS_Property property,
llvm::ArrayRef<std::string> choices,
CS_Status* status);
void RemoveSourceProperty(CS_Source source, CS_Property property,
CS_Status* status);
void RemoveSourceProperty(CS_Source source, llvm::StringRef name,
CS_Status* status);
//
// Sink Creation Functions

View File

@@ -261,14 +261,6 @@ class CvSource : public VideoSource {
/// @param choices Choices
void SetEnumPropertyChoices(const VideoProperty& property,
llvm::ArrayRef<std::string> choices);
/// Remove a property.
/// @param property Property
void RemoveProperty(const VideoProperty& property);
/// Remove a property.
/// @param name Property name
void RemoveProperty(llvm::StringRef name);
};
/// A sink for video that accepts a sequence of frames.

View File

@@ -231,16 +231,6 @@ inline void CvSource::SetEnumPropertyChoices(
SetSourceEnumPropertyChoices(m_handle, property.m_handle, choices, &m_status);
}
inline void CvSource::RemoveProperty(const VideoProperty& property) {
m_status = 0;
RemoveSourceProperty(m_handle, property.m_handle, &m_status);
}
inline void CvSource::RemoveProperty(llvm::StringRef name) {
m_status = 0;
RemoveSourceProperty(m_handle, name, &m_status);
}
inline VideoSink::VideoSink(const VideoSink& sink)
: m_handle(sink.m_handle == 0 ? 0 : CopySink(sink.m_handle, &m_status)) {}