Changeset 176 for smplayer/trunk/src/findsubtitles/osclient.h
- Timestamp:
- May 3, 2016, 5:25:45 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 175
- Property svn:mergeinfo changed
-
smplayer/trunk/src/findsubtitles/osclient.h
r170 r176 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 4Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 22 22 #include "maiaXmlRpcClient.h" 23 23 24 #define OS_SEARCH_WORKAROUND25 26 24 class OSSubtitle { 27 25 public: … … 35 33 public: 36 34 OSClient(QObject* parent = 0); 35 36 QList<OSSubtitle> subtitleList() { return s_list; }; 37 38 #ifdef FS_USE_PROXY 37 39 void setProxy(const QNetworkProxy & proxy); 40 #endif 41 42 #ifdef OS_SEARCH_WORKAROUND 43 void setRetries(int n) { search_retries = n; }; 44 int retries() { return search_retries; }; 45 #endif 38 46 39 47 public slots: 40 48 void setServer(const QString & server); 41 49 void search(const QString & hash, qint64 file_size); 42 QList<OSSubtitle> subtitleList() { return s_list; };43 50 44 51 private slots: … … 69 76 #ifdef OS_SEARCH_WORKAROUND 70 77 int best_search_count; 78 int search_retries; 71 79 #endif 72 80 QList <OSSubtitle> s_list;
Note:
See TracChangeset
for help on using the changeset viewer.