#ifndef GIDLEINHIBITMANAGER_H
#define GIDLEINHIBITMANAGER_H

#include <LResource.h>

class Louvre::Protocols::IdleInhibit::GIdleInhibitManager final : public LResource
{
public:
    static void destroy(wl_client *client, wl_resource *resource) noexcept;
    static void create_inhibitor(wl_client *client, wl_resource *resource, UInt32 id, wl_resource *surface) noexcept;
private:
    LGLOBAL_INTERFACE
    GIdleInhibitManager(wl_client *client, Int32 version, UInt32 id) noexcept;
    ~GIdleInhibitManager() noexcept;
};

#endif // GIDLEINHIBITMANAGER_H
