6352e8e319
all at once
27 lines
451 B
C++
27 lines
451 B
C++
#ifndef STAR_STAGEHAND_DATABASE_HPP
|
|
#define STAR_STAGEHAND_DATABASE_HPP
|
|
|
|
#include "StarJson.hpp"
|
|
|
|
namespace Star {
|
|
|
|
STAR_EXCEPTION(StagehandDatabaseException, StarException);
|
|
|
|
STAR_CLASS(Stagehand);
|
|
|
|
STAR_CLASS(StagehandDatabase);
|
|
|
|
class StagehandDatabase {
|
|
public:
|
|
StagehandDatabase();
|
|
|
|
StagehandPtr createStagehand(String const& stagehandType, Json const& extraConfig = Json()) const;
|
|
|
|
private:
|
|
StringMap<Json> m_stagehandTypes;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|