From cfca7157b98c9dc8e0852fe6484bc3f75008af7d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 18 Sep 2021 00:22:33 +0200 Subject: Change indentation to 4 spaces --- src/CallDevices.h | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'src/CallDevices.h') diff --git a/src/CallDevices.h b/src/CallDevices.h index 69325f97..d30ce644 100644 --- a/src/CallDevices.h +++ b/src/CallDevices.h @@ -14,35 +14,34 @@ typedef struct _GstDevice GstDevice; class CallDevices : public QObject { - Q_OBJECT + Q_OBJECT public: - static CallDevices &instance() - { - static CallDevices instance; - return instance; - } - - bool haveMic() const; - bool haveCamera() const; - std::vector names(bool isVideo, const std::string &defaultDevice) const; - std::vector resolutions(const std::string &cameraName) const; - std::vector frameRates(const std::string &cameraName, - const std::string &resolution) const; + static CallDevices &instance() + { + static CallDevices instance; + return instance; + } + + bool haveMic() const; + bool haveCamera() const; + std::vector names(bool isVideo, const std::string &defaultDevice) const; + std::vector resolutions(const std::string &cameraName) const; + std::vector frameRates(const std::string &cameraName, + const std::string &resolution) const; signals: - void devicesChanged(); + void devicesChanged(); private: - CallDevices(); + CallDevices(); - friend class WebRTCSession; - void init(); - GstDevice *audioDevice() const; - GstDevice *videoDevice(std::pair &resolution, - std::pair &frameRate) const; + friend class WebRTCSession; + void init(); + GstDevice *audioDevice() const; + GstDevice *videoDevice(std::pair &resolution, std::pair &frameRate) const; public: - CallDevices(CallDevices const &) = delete; - void operator=(CallDevices const &) = delete; + CallDevices(CallDevices const &) = delete; + void operator=(CallDevices const &) = delete; }; -- cgit 1.5.1