~ubuntu-branches/ubuntu/wily/smplayer/wily

« back to all changes in this revision

Viewing changes to src/findsubtitles/osclient.h

  • Committer: Package Import Robot
  • Author(s): Mateusz Łukasik, Mateusz Łukasik, Alessio Treglia
  • Date: 2014-09-10 13:50:48 UTC
  • mfrom: (1.3.3)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: package-import@ubuntu.com-20140910135048-t043hd88bhpfvfow
[ Mateusz Łukasik ]
* New upstream release.

[ Alessio Treglia ]
* Repackaging upstream sources to get rid of
  zlib/contrib/dotzlib/DotZLib.chm.
* Enable parallel builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include "maiaXmlRpcClient.h"
23
23
 
 
24
#define OS_SEARCH_WORKAROUND
 
25
 
24
26
class OSSubtitle {
25
27
public:
26
28
        QString movie, releasename, link, iso639, language, date;
42
44
private slots:
43
45
        void login();
44
46
        void doSearch();
 
47
#ifdef OS_SEARCH_WORKAROUND
 
48
        void doSearch(int nqueries);
 
49
#endif
45
50
 
46
51
        void gotFault(int, const QString &);
47
52
 
61
66
        bool logged_in;
62
67
        QString search_hash;
63
68
        qint64 search_size;
 
69
#ifdef OS_SEARCH_WORKAROUND
 
70
        int best_search_count;
 
71
#endif
64
72
        QList <OSSubtitle> s_list;
65
73
};
66
74