Peter Johnson
052f746c68
Use StringRef and ArrayRef return values when buf passed.
...
For functions where a SmallVector is passed to be used as a stack buffer for
the return value, have the return value be the appropriate StringRef or
ArrayRef type. This allows for both more natural usage and enables directly
returning (rather than copying) a permanently stored or constant string.
2016-09-10 21:30:39 -07:00
Peter Johnson
52c8743b36
Finish rename of EnumerateSinks to EnumerateSinkHandles.
...
And similarly for EnumerateSources to EnumerateSourceHandles.
2016-09-09 23:28:57 -07:00
Peter Johnson
ec080118f4
Clean up odd special case of GetSourceProperty().
2016-08-26 09:24:18 -07:00
Peter Johnson
0fbb2e8a14
Add methods to get property name and enumerate properties.
...
Also add method to remove property by handle.
2016-08-26 08:51:23 -07:00
Peter Johnson
0158fd35f0
Continue implementing C wrappers.
...
Implement non-OO C++ EnumerateUSBCameras().
2016-08-26 07:04:33 -07:00
Peter Johnson
2acca6eeb1
cameraserver_cpp.h: Move stdint.h above the C++ includes.
2016-08-26 00:43:03 -07:00
Peter Johnson
7c1da2dfcd
Split classes in cameraserver_cpp.h out to cameraserver_oo.h.
2016-08-26 00:08:02 -07:00
Peter Johnson
b5d32ec844
VideoSource, VideoSink: Move the status flag too.
2016-08-25 23:17:46 -07:00
Peter Johnson
aec16a934f
Revamp API again and start implementing C and Java wrapper shells.
2016-08-25 23:13:48 -07:00
Peter Johnson
b2831347bc
Revamp API.
2016-08-19 23:05:28 -07:00