~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to src/scripting/python/songloader.sip

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class SongLoader : QObject {
2
 
 
3
 
%TypeHeaderCode
4
 
  #include "core/songloader.h"
5
 
%End
6
 
 
7
 
public:
8
 
  SongLoader(LibraryBackend* library, QObject* parent /TransferThis/ = 0);
9
 
 
10
 
  enum Result {
11
 
    Success,
12
 
    Error,
13
 
    WillLoadAsync,
14
 
  };
15
 
 
16
 
  static const int kDefaultTimeout;
17
 
 
18
 
  const QUrl& url() const;
19
 
  const SongList& songs() const;
20
 
 
21
 
  int timeout() const;
22
 
  void set_timeout(int msec);
23
 
 
24
 
  Result Load(const QUrl& url);
25
 
 
26
 
signals:
27
 
  void LoadFinished(bool success);
28
 
};