25 lines
444 B
C
25 lines
444 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <memory>
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace XCEngine {
|
||
|
|
namespace Editor {
|
||
|
|
|
||
|
|
class EventBus;
|
||
|
|
class ISelectionManager;
|
||
|
|
|
||
|
|
class IEditorContext {
|
||
|
|
public:
|
||
|
|
virtual ~IEditorContext() = default;
|
||
|
|
|
||
|
|
virtual EventBus& GetEventBus() = 0;
|
||
|
|
virtual ISelectionManager& GetSelectionManager() = 0;
|
||
|
|
|
||
|
|
virtual void SetProjectPath(const std::string& path) = 0;
|
||
|
|
virtual const std::string& GetProjectPath() const = 0;
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|