Added NoFaceDetection quirk
[harmattan/cameraplus] / declarative / focus.h
index cc63f53..b5dbe49 100644 (file)
@@ -3,7 +3,7 @@
 /*!
  * 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
 #ifndef FOCUS_H
 #define FOCUS_H
 
-#include <QObject>
+#include "capability.h"
 #include "qtcamfocus.h"
 
 class QtCamDevice;
 
-class Focus : public QObject {
+class Focus : public Capability {
   Q_OBJECT
 
   Q_PROPERTY(FocusMode value READ value WRITE setValue NOTIFY valueChanged);