-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110426/
-----------------------------------------------------------

(Updated May 20, 2013, 1:36 p.m.)


Review request for Amarok.


Changes
-------

I made a patch touching all the 3 services. I added the AMAROK_EXPORT macro. 
Since now my code uses KWallet, some method calls are asynchronous. I had to 
make the MagnatuneConfig class a singleton since creating its objects takes 
time even though the constructor returns immediately.
After a lot of tries and fixing of errors I ran into a error: 
http://paste.kde.org/747302/ 
I can't understand how to fix this one. Seems like the MagnatuneConfig is not 
aware of the KWalletHelper class. Maybe the other 2 classes will give the same 
error later in the "make". Probably another problem of symbol visibility that 
Matej pointed out.
Please help me fix this error so that I can upload another diff and finish this 
review :)


Description
-------

I have created a KWalletHelper class so that services like Maganatune, Last.fm 
and GPodder can use this rather than duplicating code.
Currently the patch applies only to Magnatune. The KWalletHelper class complies 
but it doesn't link properly to the MagnatuneConfig class.


Diffs (updated)
-----

  src/CMakeLists.txt 4dcb316 
  src/services/KWalletHelper.h PRE-CREATION 
  src/services/KWalletHelper.cpp PRE-CREATION 
  src/services/gpodder/GpodderServiceConfig.h 90447fd 
  src/services/gpodder/GpodderServiceConfig.cpp 9098d59 
  src/services/gpodder/GpodderServiceSettings.cpp 34280c7 
  src/services/lastfm/CMakeLists.txt a895bba 
  src/services/lastfm/LastFmServiceConfig.h 4b1552e 
  src/services/lastfm/LastFmServiceConfig.cpp 3c8b550 
  src/services/magnatune/CMakeLists.txt 91f24c0 
  src/services/magnatune/MagnatuneConfig.h 552bcf8 
  src/services/magnatune/MagnatuneConfig.cpp 5842c63 
  src/services/magnatune/MagnatuneDownloadHandler.h b257440 
  src/services/magnatune/MagnatuneDownloadHandler.cpp 3bce597 
  src/services/magnatune/MagnatuneInfoParser.h 7904b67 
  src/services/magnatune/MagnatuneInfoParser.cpp 1888ced 
  src/services/magnatune/MagnatuneMeta.cpp 13b41d6 
  src/services/magnatune/MagnatuneNeedUpdateWidget.cpp 044cf4b 
  src/services/magnatune/MagnatuneRedownloadHandler.cpp 99c1a54 
  src/services/magnatune/MagnatuneSettingsModule.h 4728a34 
  src/services/magnatune/MagnatuneSettingsModule.cpp d45938f 
  src/services/magnatune/MagnatuneStore.h de95057 
  src/services/magnatune/MagnatuneStore.cpp 359990e 

Diff: http://git.reviewboard.kde.org/r/110426/diff/


Testing
-------

The KWalletHelper.cpp complies but fails to link to ManatuneConfig.cpp. Output 
of "make" command: http://paste.kde.org/743792/


Thanks,

Vedant Agarwala

_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

Reply via email to