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

« back to all changes in this revision

Viewing changes to protocols/oscar/liboscar/tasks/closeconnectiontask.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
    Kopete Oscar Protocol
 
3
    closeconnectiontask.h - Handles the closing of the connection to the server
 
4
 
 
5
    Copyright (c) 2004 Matt Rogers <mattr@kde.org>
 
6
    Copyright (c) 2007 Roman Jarosz <kedgedev@centrum.cz>
 
7
 
 
8
    Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
 
9
 
 
10
    *************************************************************************
 
11
    *                                                                       *
 
12
    * This library is free software; you can redistribute it and/or         *
 
13
    * modify it under the terms of the GNU Lesser General Public            *
 
14
    * License as published by the Free Software Foundation; either          *
 
15
    * version 2 of the License, or (at your option) any later version.      *
 
16
    *                                                                       *
 
17
    *************************************************************************
 
18
*/
 
19
 
 
20
#ifndef CLOSECONNECTIONTASK_H
 
21
#define CLOSECONNECTIONTASK_H
 
22
 
 
23
#include <task.h>
 
24
 
 
25
class Transfer;
 
26
 
 
27
/**
 
28
@author Matt Rogers
 
29
*/
 
30
class CloseConnectionTask : public Task
 
31
{
 
32
public:
 
33
        CloseConnectionTask(Task* parent);
 
34
        
 
35
        ~CloseConnectionTask();
 
36
        
 
37
        virtual bool take(Transfer* transfer);
 
38
 
 
39
protected:
 
40
        virtual bool forMe(const Transfer* transfer) const;
 
41
        virtual void onGo();
 
42
 
 
43
};
 
44
 
 
45
#endif
 
46
 
 
47
//kate: indent-mode csands; space-indent off; tab-width 4; replace-tabs off;