summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSMessageReceiver.h
blob: eaf8933846e0c3a128a2ce5e9ff795901fdbab91 (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(const WSMessage&) = 0;
};