Added new QML types to create VideoResolution and ImageResolution from QML
[harmattan/cameraplus] / declarative / flash.h
index deb2df0..bece520 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 FLASH_H
 #define FLASH_H
 
-#include <QObject>
+#include "capability.h"
 #include "qtcamflash.h"
 
 class QtCamDevice;
 
-class Flash : public QObject {
+class Flash : public Capability {
   Q_OBJECT
 
   Q_PROPERTY(FlashMode value READ value WRITE setValue NOTIFY valueChanged);