/*!
* This file is part of CameraPlus.
*
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
~QtCamDevice();
bool setViewfinder(QtCamViewfinder *viewfinder);
+ QtCamViewfinder *viewfinder() const;
+
bool start();
- bool stop();
+ bool stop(bool force);
bool isRunning();
bool isIdle();
Q_PRIVATE_SLOT(d_ptr, void _d_stopped())
Q_PRIVATE_SLOT(d_ptr, void _d_stopping())
- friend class QtCamMetaData;
+ friend class QtCamMetaDataPrivate;
friend class QtCamCapability;
friend class QtCamVideoTorch;
- friend class QtCamMute;
+ friend class QtCamVideoMute;
+ friend class QtCamAutoFocusPrivate;
+ friend class QtCamRoiPrivate;
+ friend class QtCamNotifications;
QtCamDevicePrivate *d_ptr;
};