summaryrefslogtreecommitdiff
path: root/src/DockApp.h
blob: 90039309b1258f38d6e0cb8315e5d6b1eddf4d29 (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
/* $Id: DockApp.h,v 1.4 2007/01/07 05:00:56 whot Exp $ */

#ifndef __DOCKAPP_H__
#define __DOCKAPP_H__

#include <X11/Xlib.h>
#include <X11/extensions/XInput2.h>
#include "XConn.h"
#include "DockItem.h"
#include "PointerDevice.h"

class DockApp : public DockItem
{
    private:
        const char* app;
        char* imgfile;

    public:
        DockApp(XConn* x11, const char* app, char* imgfile);
        void handleButtonEvent(PointerDevice* ptr, XIDeviceEvent* ev);
        void setup();

};

#endif