Polyphase Game Engine
Loading...
Searching...
No Matches
GitCreateTagDialog.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <string>
6
7class GitCreateTagDialog
8{
9public:
10 void Open();
11 void Open(const std::string& targetOid);
12 void Draw();
13
14private:
15 bool mIsOpen = false;
16 bool mJustOpened = false;
17
18 char mTagName[128] = {0};
19 char mMessage[1024] = {0};
20 bool mAnnotated = false;
21
22 // Target commit: 0 = HEAD, 1 = specific commit
23 int32_t mTargetMode = 0;
24 std::string mSelectedTargetOid;
25};
26
27GitCreateTagDialog* GetGitCreateTagDialog();
28
29#endif