chromium/ui/gfx/x/event.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_GFX_X_EVENT_H_
#define UI_GFX_X_EVENT_H_

#include <cstdint>
#include <type_traits>
#include <utility>

#include "base/check_op.h"
#include "base/component_export.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted_memory.h"
#include "base/memory/scoped_refptr.h"
#include "ui/gfx/x/xproto.h"

namespace x11 {

class Connection;
class Event;
struct ReadBuffer;

template <typename T>
void ReadEvent(T* event, ReadBuffer* buf);

class COMPONENT_EXPORT(X11) Event {};

}  // namespace x11

#endif  // UI_GFX_X_EVENT_H_