@@ -184,12 +184,12 @@ class DigitalCameraCapture: public IVideoCapture
184
184
bool & output) const ;
185
185
186
186
// Widgets
187
- void reloadConfig () throw (GPhoto2Exception) ;
187
+ void reloadConfig ();
188
188
CameraWidget * getWidget (int widgetId) const ;
189
189
CameraWidget * findWidgetByName (const char * name) const ;
190
190
191
191
// Loading
192
- void readFrameFromFile (CameraFile * file, OutputArray outputFrame) throw (GPhoto2Exception) ;
192
+ void readFrameFromFile (CameraFile * file, OutputArray outputFrame);
193
193
194
194
// Context feedback
195
195
friend void ctxErrorFunc (GPContext *, const char *, void *);
@@ -231,10 +231,8 @@ class DigitalCameraCapture: public IVideoCapture
231
231
232
232
// Widgets
233
233
int noOfWidgets;
234
- int widgetDescription (std::ostream &os, CameraWidget * widget) const
235
- throw (GPhoto2Exception);
236
- int collectWidgets (std::ostream &os, CameraWidget * widget)
237
- throw (GPhoto2Exception);
234
+ int widgetDescription (std::ostream &os, CameraWidget * widget) const ;
235
+ int collectWidgets (std::ostream &os, CameraWidget * widget);
238
236
239
237
// Messages / debug
240
238
mutable std::ostringstream msgsBuffer; // CV_CAP_PROP_GPHOTO2_FLUSH_MSGS
@@ -929,7 +927,7 @@ int DigitalCameraCapture::findDevice(const char * deviceName) const
929
927
/* *
930
928
* Load device settings.
931
929
*/
932
- void DigitalCameraCapture::reloadConfig () throw (GPhoto2Exception)
930
+ void DigitalCameraCapture::reloadConfig ()
933
931
{
934
932
std::ostringstream widgetInfoListStream;
935
933
@@ -999,7 +997,7 @@ CameraWidget * DigitalCameraCapture::findWidgetByName(
999
997
* @FUTURE: RAW format reader.
1000
998
*/
1001
999
void DigitalCameraCapture::readFrameFromFile (CameraFile * file, OutputArray outputFrame)
1002
- throw (GPhoto2Exception)
1000
+
1003
1001
{
1004
1002
// FUTURE: OpenCV cannot read RAW files right now.
1005
1003
const char * data;
@@ -1022,7 +1020,7 @@ void DigitalCameraCapture::readFrameFromFile(CameraFile * file, OutputArray outp
1022
1020
* then IDs won't be the same)
1023
1021
*/
1024
1022
int DigitalCameraCapture::widgetDescription (std::ostream &os,
1025
- CameraWidget * widget) const throw (GPhoto2Exception)
1023
+ CameraWidget * widget) const
1026
1024
{
1027
1025
const char * label, *name, *info;
1028
1026
int id, readonly;
@@ -1137,7 +1135,7 @@ int DigitalCameraCapture::widgetDescription(std::ostream &os,
1137
1135
* @return maximum of widget ID
1138
1136
*/
1139
1137
int DigitalCameraCapture::collectWidgets (std::ostream & os,
1140
- CameraWidget * widget) throw (GPhoto2Exception)
1138
+ CameraWidget * widget)
1141
1139
{
1142
1140
int id = widgetDescription (os, widget);
1143
1141
os << lineDelimiter;
0 commit comments