Polyphase Game Engine
Loading...
Searching...
No Matches
GitPushDialog.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <string>
6#include <vector>
7#include <cstdint>
8
9class GitPushDialog
10{
11public:
12 void Open();
13 void Draw();
14
15private:
16 bool mIsOpen = false;
17 bool mJustOpened = false;
18
19 // Cached data
20 std::vector<std::string> mRemoteNames;
21 std::vector<std::string> mBranchNames;
22
23 int32_t mSelectedRemote = 0;
24 int32_t mSelectedSourceBranch = 0;
25 int32_t mSelectedDestBranch = 0;
26
27 bool mPushTags = false;
28 bool mSetUpstream = false;
29 bool mShowForcePush = false;
30 bool mForcePush = false;
31};
32
33GitPushDialog* GetGitPushDialog();
34
35#endif