summaryrefslogtreecommitdiffstats
path: root/knetload/knetdock.h
blob: 230ccf02969948d49826791ae4f0643ae6385d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

/***************************************************************************
 *                                                                         *
 *   KNetLoad is copyright (c) 1999-2000, Markus Gustavsson                *
 *                         (c) 2002, Ben Burton                            *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef __KNETDOCK_H
#define __KNETDOCK_H

#include "statdock.h"

/**
 * A KNetLoad system tray window for a single direction (in/out).
 */
class KNetDock : public StatDock {

public:
    /**
     * Constructor.
     *
     * Parameter dirIn should be \c true if this diagram represents
     * incoming traffic and \c false if this diagram represents outgoing
     * traffic.
     */
    KNetDock(int whichDock, bool dirIn, StatPopup *tqparent = 0,
        const char* name = 0);
};

#endif