~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to protocols/groupwise/libgroupwise/request.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    request.h - Kopete Groupwise Protocol
 
3
  
 
4
    Copyright (c) 2004      SUSE Linux AG                http://www.suse.com
 
5
    
 
6
    Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
 
7
 
 
8
    *************************************************************************
 
9
    *                                                                       *
 
10
    * This library is free software; you can redistribute it and/or         *
 
11
    * modify it under the terms of the GNU Lesser General Public            *
 
12
    * License as published by the Free Software Foundation; either          *
 
13
    * version 2 of the License, or (at your option) any later version.      *
 
14
    *                                                                       *
 
15
    *************************************************************************
 
16
*/
 
17
#ifndef LIBGW_REQUEST_H
 
18
#define LIBGW_REQUEST_H
 
19
 
 
20
#include "usertransfer.h"
 
21
 
 
22
/**
 
23
 * Represents a client generated request to the server
 
24
 * Create with @ref RequestFactory::request().
 
25
 * @author Kopete Developers
 
26
*/
 
27
class Request : public UserTransfer
 
28
{
 
29
friend class RequestFactory;
 
30
 
 
31
public:
 
32
        ~Request( );
 
33
        QString command();
 
34
        TransferType type() { return Transfer::RequestTransfer; }
 
35
private:
 
36
        Request( const int transactionId, const QString &command );
 
37
        QString m_command;
 
38
};
 
39
 
 
40
#endif