This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
import QtAV 1.6 | |
Item { | |
MediaPlayer { | |
id: player | |
source: "http://centova.radio.com.pt:8401/" | |
} | |
Component.onCompleted: player.play() | |
MouseArea { | |
anchors.fill: parent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QGuiApplication> | |
#include <QDBusServiceWatcher> | |
#include <QDBusInterface> | |
#include <QDBusReply> | |
#include <QDBusConnectionInterface> | |
class Mpris2Player : public QDBusInterface | |
{ | |
Q_OBJECT | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/cursoranim.c b/tests/cursoranim.c | |
index 39a229c..9420fcd 100644 | |
--- a/tests/cursoranim.c | |
+++ b/tests/cursoranim.c | |
@@ -72,9 +72,9 @@ static GLFWcursor* load_frame(float t) | |
{ | |
for (x = 0; x < image.height; x++) | |
{ | |
- buffer[i++] = 255; | |
- buffer[i++] = 255; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libtoolize: putting auxiliary files in `.'. | |
libtoolize: copying file `./ltmain.sh' | |
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. | |
libtoolize: copying file `m4/libtool.m4' | |
libtoolize: copying file `m4/ltoptions.m4' | |
libtoolize: copying file `m4/ltsugar.m4' | |
libtoolize: copying file `m4/ltversion.m4' | |
libtoolize: copying file `m4/lt~obsolete.m4' | |
configure.ac:3: installing './compile' | |
configure.ac:9: installing './config.guess' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
</head> | |
<body> | |
<h1>Extending JavaScript with WebKit. externalIp class.</h1> | |
<script type="text/javascript"> | |
document.write("IP: " + externalIp.get_address() + "<br>"); | |
var display = function () { | |
document.write("IP: " + Volume.get_volume() + "<br>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Battery.capacity method callback implementation */ | |
static JSValueRef battery_capacity_cb(JSContextRef context, | |
JSObjectRef function, | |
JSObjectRef thisObject, | |
size_t argumentCount, | |
const JSValueRef arguments[], | |
JSValueRef *exception) | |
{ | |
/* Get battery capacity status */ | |
return JSValueMakeNumber(context, 10); |