Files
salmanoff/libspinscale/include/spinscale/component.h
T

42 lines
656 B
C++
Raw Normal View History

#ifndef COMPONENT_H
#define COMPONENT_H
#include <config.h>
#include <memory>
#include <functional>
2025-12-26 01:18:39 -04:00
#include <spinscale/callback.h>
#include <spinscale/puppetApplication.h>
2025-12-27 16:21:22 -04:00
namespace sscl {
class ComponentThread;
class Component
{
public:
Component(const std::shared_ptr<ComponentThread> &thread);
~Component() = default;
public:
std::shared_ptr<ComponentThread> thread;
public:
};
class PuppetComponent
: public Component
{
public:
PuppetComponent(
PuppetApplication &parent,
const std::shared_ptr<ComponentThread> &thread);
~PuppetComponent() = default;
public:
PuppetApplication &parent;
};
2025-12-27 16:21:22 -04:00
} // namespace sscl
#endif // COMPONENT_H