~ubuntu-branches/ubuntu/karmic/kid3/karmic

« back to all changes in this revision

Viewing changes to kid3/freedbclient.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2009-05-20 16:12:30 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090520161230-qetp532r8ydujkz2
Tags: upstream-1.2
Import upstream version 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * \author Urs Fleisch
7
7
 * \date 18 Jan 2004
8
8
 *
9
 
 * Copyright (C) 2004-2007  Urs Fleisch
 
9
 * Copyright (C) 2004-2009  Urs Fleisch
10
10
 *
11
11
 * This file is part of Kid3.
12
12
 *
46
46
        virtual ~FreedbClient();
47
47
 
48
48
        /**
49
 
         * Construct a query command in m_request to search on the server.
 
49
         * Send a query command to search on the server.
50
50
         *
51
51
         * @param cfg      import source configuration
52
52
         * @param artist   artist to search
53
53
         * @param album    album to search
54
 
         * @param dest     the server to connect to is returned here
55
 
         * @param destPort the port of the server is returned here
56
54
         */
57
 
        virtual void constructFindQuery(
 
55
        virtual void sendFindQuery(
58
56
                const ImportSourceConfig* cfg,
59
 
                const QString& artist, const QString& album,
60
 
                QString& dest, int& destPort);
 
57
                const QString& artist, const QString& album);
61
58
 
62
59
        /**
63
 
         * Construct a query command in m_request to fetch the track list
 
60
         * Send a query command to fetch the track list
64
61
         * from the server.
65
62
         *
66
63
         * @param cfg      import source configuration
67
64
         * @param cat      category
68
65
         * @param id       ID
69
 
         * @param dest     the server to connect to is returned here
70
 
         * @param destPort the port of the server is returned here
71
66
         */
72
 
        virtual void constructTrackListQuery(
73
 
                const ImportSourceConfig* cfg, const QString& cat, const QString& id,
74
 
                QString& dest, int& destPort);
 
67
        virtual void sendTrackListQuery(
 
68
                const ImportSourceConfig* cfg, const QString& cat, const QString& id);
75
69
};
76
70
 
77
71
#endif