~xavi-garcia-mena/thumbnailer/art-downloader-interface

« back to all changes in this revision

Viewing changes to include/internal/artdownloader.h

  • Committer: Xavi Garcia
  • Date: 2015-03-31 09:53:24 UTC
  • Revision ID: xavi.garcia.mena@canonical.com-20150331095324-dcjnrdbzrag4c4ig
Raw pointer removed to use unique_ptr instead. Some coding style changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    ArtDownloader() = default;
36
36
    virtual ~ArtDownloader() = default;
37
37
 
38
 
    // Returns the downloaded image as a std::string for the fiven artist and album
 
38
    // Returns the downloaded image as a std::string for the given artist and album
39
39
    // If no image was found it returns an empty std::string
40
40
    virtual std::string download(std::string const& artist, std::string const& album) = 0;
41
41
 
42
 
    // Returns the downloaded image as a std::string for the fiven artist and album
 
42
    // Returns the downloaded image as a std::string for the given artist and album
43
43
    // If no image was found it returns an empty std::string
44
44
    virtual std::string download_artist(std::string const& artist, std::string const& album) = 0;
45
45
    ArtDownloader(ArtDownloader const&) = delete;