kylemcdonald / ofxEdsdk

Interfacing with Canon cameras from openFrameworks for OSX. An alternative to ofxCanon and CanonCameraWrapper.
Other
111 stars 51 forks source link

Expose internal connected flag as Camera::isConnected() #33

Closed Dewb closed 8 years ago

Dewb commented 9 years ago

Expose the connected flag as a public isConnected() method. A tiny little change that was helpful in allowing a photo booth app to fall back to the webcam when the DSLR was not plugged in.

kylemcdonald commented 8 years ago

Thanks! In general, I suggest following the code style of repos that you submit to as closely as possible. In the case of ofxEdsdk, even the shortest functions are not defined in the header files. Obviously this isn't a big deal in this one case, but over time with lots of little changes it can make a big difference.