~ubuntu-branches/ubuntu/gutsy/kid3/gutsy

« back to all changes in this revision

Viewing changes to kid3/tracktypeclient.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2007-07-01 00:31:03 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070701003103-2qownnv49a7jdqm3
Tags: 0.9-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * \file tracktypeclient.h
 
3
 * TrackType.org client.
 
4
 *
 
5
 * \b Project: Kid3
 
6
 * \author Urs Fleisch
 
7
 * \date 26 Apr 2007
 
8
 */
 
9
 
 
10
#ifndef TRACKTYPECLIENT_H
 
11
#define TRACKTYPECLIENT_H
 
12
 
 
13
#include "freedbclient.h"
 
14
 
 
15
/**
 
16
 * TrackType.org client.
 
17
 */
 
18
class TrackTypeClient : public FreedbClient
 
19
{
 
20
public:
 
21
        /**
 
22
         * Constructor.
 
23
         */
 
24
        TrackTypeClient();
 
25
 
 
26
        /**
 
27
         * Destructor.
 
28
         */
 
29
        virtual ~TrackTypeClient();
 
30
 
 
31
        /**
 
32
         * Construct a query command in m_request to search on the server.
 
33
         *
 
34
         * @param cfg      import source configuration
 
35
         * @param artist   artist to search
 
36
         * @param album    album to search
 
37
         * @param dest     the server to connect to is returned here
 
38
         * @param destPort the port of the server is returned here
 
39
         */
 
40
        virtual void constructFindQuery(
 
41
                const ImportSourceConfig* cfg,
 
42
                const QString& artist, const QString& album,
 
43
                QString& dest, int& destPort);
 
44
};
 
45
 
 
46
#endif