summaryrefslogtreecommitdiff
path: root/WindowServer/WSMessageReceiver.h
blob: 97ee114c8caaf6cd6b264d530e5abc05ff15c5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <AK/Weakable.h>

class WSMessage;

class WSMessageReceiver : public Weakable<WSMessageReceiver> {
public:
    WSMessageReceiver();
    virtual ~WSMessageReceiver();

    virtual void on_message(WSMessage&) = 0;
};