summaryrefslogtreecommitdiffstats
path: root/src/qtsparkle_qt4-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtsparkle_qt4-test.cpp')
-rw-r--r--src/qtsparkle_qt4-test.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/qtsparkle_qt4-test.cpp b/src/qtsparkle_qt4-test.cpp
new file mode 100644
index 0000000..a72b034
--- /dev/null
+++ b/src/qtsparkle_qt4-test.cpp
@@ -0,0 +1,18 @@
+/*
+ * This file is part of MXE.
+ * See index.html for further information.
+ */
+
+#include <qtsparkle/Updater>
+#include <QWidget>
+#include <QUrl>
+
+int main()
+{
+ QWidget w;
+ qtsparkle::Updater* updater = new qtsparkle::Updater(
+ QUrl("http://www.example.com/sparkle.xml"), &w);
+ updater->SetVersion("1.0");
+
+ return 0;
+}