summaryrefslogtreecommitdiff
path: root/src/config/lua/objects/LuaTimer.hpp
blob: 0a6028485950b8557107d32bc30630232494795d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "LuaObjectHelpers.hpp"
#include "../../../managers/eventLoop/EventLoopTimer.hpp"

namespace Config::Lua::Objects {
    class CLuaTimer : public ILuaObjectWrapper {
      public:
        void        setup(lua_State* L) override;
        static void push(lua_State* L, const SP<CEventLoopTimer>& timer, int timeoutMs);
    };
}