~uriboni/qtubuntu-camera/refactoring

« back to all changes in this revision

Viewing changes to src/aalcameraservice.h

  • Committer: Ugo Riboni
  • Date: 2016-03-21 14:17:28 UTC
  • Revision ID: ugo.riboni@canonical.com-20160321141728-b3ebn5y54fhr2sq2
Move AalViewfinderSettingsControl to use the session, and move a function from the service into it as it is the only client using it

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
    bool isCameraActive() const;
76
76
    bool isBackCameraUsed() const;
77
77
 
78
 
    QSize selectSizeWithAspectRatio(const QList<QSize> &sizes, float targetAspectRatio) const;
79
 
 
80
78
    static AalCameraService *instance() { return m_service; }
81
79
 
82
80
    void initControls(CameraControl *camControl, CameraControlListener *listener);