changeset 385:a555be0ad78f macness

move ITunesSVRemote ctor and dtor into impl file
author Dan Stowell <dan.stowell@eecs.qmul.ac.uk>
date Mon, 18 Oct 2010 15:32:35 +0100
parents be237d380f5f
children 268478a184a3
files osx/svitunes.h osx/svitunes.mm
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/osx/svitunes.h	Mon Oct 18 15:23:21 2010 +0100
+++ b/osx/svitunes.h	Mon Oct 18 15:32:35 2010 +0100
@@ -30,11 +30,8 @@
     
     public:
         
-        ITunesSVRemote() :
-            m_playerState(STATE_UNKNOWN),
-            m_playerPos(0)
-            { }
-        virtual ~ITunesSVRemote() { }
+        ITunesSVRemote();
+        ~ITunesSVRemote();
     
         // Returns a list containing [posixpath, genre]
         QStringList getNowPlaying();
--- a/osx/svitunes.mm	Mon Oct 18 15:23:21 2010 +0100
+++ b/osx/svitunes.mm	Mon Oct 18 15:32:35 2010 +0100
@@ -36,6 +36,14 @@
     return result;
 }
 
+ITunesSVRemote::ITunesSVRemote() {
+    m_playerState = STATE_UNKNOWN; 
+    m_playerPos = 0;
+}
+
+ITunesSVRemote::~ITunesSVRemote() {
+}
+
 QStringList ITunesSVRemote::getNowPlaying(){
     NSDictionary *errorDict;
     NSAppleScript *scriptObject = [[NSAppleScript alloc]    initWithSource:@" \