summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/autodetection.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-22 17:51:35 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-22 17:51:35 +0000
commit3f65a7051f489f141a39faaf85dc2af489b5123e (patch)
tree84c23e570424222240d394e24a58920b7ed8e6d4 /rbutil/rbutilqt/autodetection.h
parentb2ee5bc6b68316d3cf7e43923765788b114aa192 (diff)
downloadrockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.tar.gz
rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.zip
Move C linkage binding for c++ to exporting header files instead of includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/autodetection.h')
-rw-r--r--rbutil/rbutilqt/autodetection.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/autodetection.h b/rbutil/rbutilqt/autodetection.h
index ed0ba99bf8..e960305ea6 100644
--- a/rbutil/rbutilqt/autodetection.h
+++ b/rbutil/rbutilqt/autodetection.h
@@ -24,11 +24,8 @@
#include <QtCore>
#include "rbsettings.h"
-extern "C" {
- // Ipodpatcher
#include "../ipodpatcher/ipodpatcher.h"
#include "../sansapatcher/sansapatcher.h"
-};
class Autodetection :public QObject
{
@@ -36,9 +33,9 @@ class Autodetection :public QObject
public:
Autodetection(QObject* parent=0);
-
+
void setSettings(RbSettings* sett) {settings = sett;}
-
+
bool detect();
QString getDevice() {return m_device;}