mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 04:49:39 -10:00
27 lines
461 B
C++
27 lines
461 B
C++
|
|
#pragma once
|
|
|
|
#include "executor/Executor.h"
|
|
#include "scripting/ade_api.h"
|
|
|
|
namespace scripting {
|
|
namespace api {
|
|
|
|
class executor_h {
|
|
public:
|
|
executor_h();
|
|
executor_h(std::shared_ptr<executor::Executor> executor);
|
|
|
|
bool isValid() const;
|
|
|
|
const std::shared_ptr<executor::Executor>& getExecutor() const;
|
|
|
|
private:
|
|
std::shared_ptr<executor::Executor> m_executor;
|
|
};
|
|
|
|
DECLARE_ADE_OBJ(l_Executor, executor_h);
|
|
|
|
} // namespace api
|
|
} // namespace scripting
|