Polyphase Game Engine
Loading...
Searching...
No Matches
GitCheckoutConfirmDialog.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include "../GitTypes.h"
6#include <string>
7#include <vector>
8
9class GitCheckoutConfirmDialog
10{
11public:
12 void Show(const std::string& targetRef);
13 void Show(const std::string& targetRef, const std::vector<GitStatusEntry>& dirtyFiles);
14 void Draw();
15
16private:
17 bool mIsOpen = false;
18 bool mJustOpened = false;
19
20 std::string mTargetRef;
21 std::vector<GitStatusEntry> mDirtyFiles;
22};
23
24GitCheckoutConfirmDialog* GetGitCheckoutConfirmDialog();
25
26#endif