# HG changeset patch # User Dan Stowell # Date 1287412355 -3600 # Node ID a555be0ad78fe477e98d36e9cc3266fdc12da3e3 # Parent be237d380f5ff916fce3a19ffe01bfab9e5835cc move ITunesSVRemote ctor and dtor into impl file diff -r be237d380f5f -r a555be0ad78f osx/svitunes.h --- 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(); diff -r be237d380f5f -r a555be0ad78f osx/svitunes.mm --- 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:@" \