Updated copyright year
[harmattan/cameraplus] / lib / qtcamautofocus_p.h
index a6b2482..a833a9f 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
@@ -113,20 +113,9 @@ public:
     return false;
   }
 
-  bool sendEventToSource(GstEvent *event) {
-    if (!dev->d_ptr->videoSource) {
-      qWarning() << "No video source";
-      gst_event_unref(event);
-      return false;
-    }
-
-    return gst_element_send_event(dev->d_ptr->videoSource, event) == TRUE ? true : false;
-  }
-
 public slots:
   void handleMessage(GstMessage *message) {
     if (setStatus(&status, message)) {
-      // TODO: focus-window-rows, focus-window-columns, focus-windows and the rest
       emit q_ptr->statusChanged();
     }
   }