projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
populate post capture model when page is current and clear it when we leave
[harmattan/cameraplus]
/
lib
/
qtcamcapability_p.h
diff --git
a/lib/qtcamcapability_p.h
b/lib/qtcamcapability_p.h
index
1ff58be
..
51b36f2
100644
(file)
--- a/
lib/qtcamcapability_p.h
+++ b/
lib/qtcamcapability_p.h
@@
-3,7
+3,7
@@
/*!
* This file is part of CameraPlus.
*
/*!
* 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
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-24,6
+24,7
@@
#define QT_CAM_CAPABILITY_P_H
#include <gst/gst.h>
#define QT_CAM_CAPABILITY_P_H
#include <gst/gst.h>
+#include "qtcamcapability.h"
#include "qtcamdevice.h"
#include "qtcamdevice_p.h"
#include "qtcamdevice.h"
#include "qtcamdevice_p.h"
@@
-65,7
+66,7
@@
public:
void startMonitoring() {
if (src) {
QString p = QString("notify::%1").arg(prop);
void startMonitoring() {
if (src) {
QString p = QString("notify::%1").arg(prop);
- handler = g_signal_connect(src, p.to
Ascii
().data(), G_CALLBACK(camera_src_notify), this);
+ handler = g_signal_connect(src, p.to
Latin1
().data(), G_CALLBACK(camera_src_notify), this);
}
}
}
}
@@
-80,7
+81,7
@@
public:
return false;
}
return false;
}
- g_object_get(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_get(src, prop.to
Latin1
().data(), val, NULL);
return true;
}
return true;
}
@@
-90,7
+91,7
@@
public:
return false;
}
return false;
}
- g_object_set(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_set(src, prop.to
Latin1
().data(), val, NULL);
return true;
}
return true;
}
@@
-100,7
+101,7
@@
public:
return false;
}
return false;
}
- g_object_get(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_get(src, prop.to
Latin1
().data(), val, NULL);
return true;
}
return true;
}
@@
-111,15
+112,15
@@
public:
}
if (force) {
}
if (force) {
- g_object_set(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_set(src, prop.to
Latin1
().data(), val, NULL);
return true;
}
int old = 0;
return true;
}
int old = 0;
- g_object_get(src, prop.to
Ascii
().data(), &old, NULL);
+ g_object_get(src, prop.to
Latin1
().data(), &old, NULL);
if (old != val) {
if (old != val) {
- g_object_set(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_set(src, prop.to
Latin1
().data(), val, NULL);
}
return true;
}
return true;
@@
-130,7
+131,7
@@
public:
return false;
}
return false;
}
- g_object_get(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_get(src, prop.to
Latin1
().data(), val, NULL);
return true;
}
return true;
}
@@
-140,7
+141,7
@@
public:
return false;
}
return false;
}
- g_object_set(src, prop.to
Ascii
().data(), val, NULL);
+ g_object_set(src, prop.to
Latin1
().data(), val, NULL);
return true;
}
return true;
}