Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 04a20d9

Browse files
committed
Move some RepoMan code around
1 parent dcb842b commit 04a20d9

28 files changed

+105
-85
lines changed

Libs/libMacGitverCore/CMakeLists.txt

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,21 @@ SET( SRC_FILES
3737
MacGitver/GitPatchConsumer.cpp
3838

3939
RepoMan/AutoRefresher.cpp
40-
RepoMan/Base.cpp
41-
RepoMan/Ref.cpp
42-
RepoMan/Branch.cpp
43-
RepoMan/CollectionNode.cpp
4440
RepoMan/Events.cpp
45-
RepoMan/Repo.cpp
46-
RepoMan/RepoMan.cpp
47-
RepoMan/Remote.cpp
48-
RepoMan/Tag.cpp
49-
RepoMan/RefLog.cpp
50-
RepoMan/Submodule.cpp
51-
RepoMan/RefTreeNode.cpp
52-
RepoMan/Namespace.cpp
53-
RepoMan/Head.cpp
41+
42+
RepoMan/Frontend/Base.cpp
43+
RepoMan/Frontend/Branch.cpp
44+
RepoMan/Frontend/CollectionNode.cpp
45+
RepoMan/Frontend/Namespace.cpp
46+
RepoMan/Frontend/Ref.cpp
47+
RepoMan/Frontend/RefLog.cpp
48+
RepoMan/Frontend/RefTreeNode.cpp
49+
RepoMan/Frontend/Remote.cpp
50+
RepoMan/Frontend/Repo.cpp
51+
RepoMan/Frontend/RepoMan.cpp
52+
RepoMan/Frontend/Submodule.cpp
53+
RepoMan/Frontend/Tag.cpp
54+
RepoMan/Frontend/Head.cpp
5455

5556
RepoMan/Private/Dumper.cpp
5657

@@ -132,20 +133,22 @@ SET( PRI_HDR_FILES
132133

133134
RepoMan/AutoRefresher.hpp
134135

135-
RepoMan/Private/BasePrivate.hpp
136-
RepoMan/Private/BranchPrivate.hpp
137-
RepoMan/Private/CollectionNodePrivate.hpp
138-
RepoMan/Private/NamespacePrivate.hpp
139-
RepoMan/Private/RefPrivate.hpp
140-
RepoMan/Private/RefLogPrivate.hpp
141-
RepoMan/Private/RefTreeNodePrivate.hpp
142-
RepoMan/Private/RemotePrivate.hpp
143-
RepoMan/Private/RepoPrivate.hpp
144-
RepoMan/Private/RepoManPrivate.hpp
145-
RepoMan/Private/SubmodulePrivate.hpp
146-
RepoMan/Private/TagPrivate.hpp
147136
RepoMan/Private/Dumper.hpp
148-
RepoMan/Private/HeadPrivate.hpp
137+
138+
RepoMan/Data/BaseData.hpp
139+
RepoMan/Data/BranchData.hpp
140+
RepoMan/Data/CollectionNodeData.hpp
141+
RepoMan/Data/NamespaceData.hpp
142+
RepoMan/Data/RefData.hpp
143+
RepoMan/Data/RefLogData.hpp
144+
RepoMan/Data/RefTreeNodeData.hpp
145+
RepoMan/Data/RemoteData.hpp
146+
RepoMan/Data/RepoData.hpp
147+
RepoMan/Data/RepoManData.hpp
148+
RepoMan/Data/SubmoduleData.hpp
149+
RepoMan/Data/TagData.hpp
150+
RepoMan/Data/HeadData.hpp
151+
149152

150153
RepoMan/Config/RepoManConfigPage.hpp
151154

Libs/libMacGitverCore/RepoMan/Config/RepoManConfigPage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
#include "libMacGitverCore/RepoMan/Config/RepoManConfigPage.hpp"
21-
#include "libMacGitverCore/RepoMan/Private/RepoManPrivate.hpp"
21+
#include "libMacGitverCore/RepoMan/Data/RepoManData.hpp"
2222
#include "libMacGitverCore/RepoMan/AutoRefresher.hpp"
2323
#include "libMacGitverCore/RepoMan/RepoMan.hpp"
2424

Libs/libMacGitverCore/RepoMan/Private/BranchPrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/BranchData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef REPOMAN_BRANCH_PRIVATE_HPP
2121
#define REPOMAN_BRANCH_PRIVATE_HPP
2222

23-
#include "RepoMan/Private/RefPrivate.hpp"
23+
#include "RepoMan/Data/RefData.hpp"
2424

2525
#include "RepoMan/Branch.hpp"
2626

Libs/libMacGitverCore/RepoMan/Private/CollectionNodePrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/CollectionNodeData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef REPOMAN_COLLECTION_NODE_PRIVATE_HPP
2121
#define REPOMAN_COLLECTION_NODE_PRIVATE_HPP
2222

23-
#include "RepoMan/Private/BasePrivate.hpp"
23+
#include "RepoMan/Data/BaseData.hpp"
2424

2525
#include "RepoMan/CollectionNode.hpp"
2626

Libs/libMacGitverCore/RepoMan/Private/HeadPrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/HeadData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#pragma once
2121

22-
#include "RepoMan/Private/BasePrivate.hpp"
22+
#include "RepoMan/Data/BaseData.hpp"
2323

2424
#include "RepoMan/Head.hpp"
2525

Libs/libMacGitverCore/RepoMan/Private/NamespacePrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/NamespaceData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef REPOMAN_NAMESPACE_PRIVATE_HPP
2121
#define REPOMAN_NAMESPACE_PRIVATE_HPP
2222

23-
#include "RepoMan/Private/BasePrivate.hpp"
23+
#include "RepoMan/Data/BaseData.hpp"
2424

2525
#include "RepoMan/Namespace.hpp"
2626

Libs/libMacGitverCore/RepoMan/Private/RefPrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/RefData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
*/
1919

20-
#include "RepoMan/Private/BasePrivate.hpp"
20+
#include "RepoMan/Data/BaseData.hpp"
2121

2222
#include "RepoMan/Ref.hpp"
2323

Libs/libMacGitverCore/RepoMan/Private/RefLogPrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/RefLogData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef REPOMAN_REF_LOG_PRIVATE_HPP
2121
#define REPOMAN_REF_LOG_PRIVATE_HPP
2222

23-
#include "RepoMan/Private/BasePrivate.hpp"
23+
#include "RepoMan/Data/BaseData.hpp"
2424

2525
#include "RepoMan/RefLog.hpp"
2626

Libs/libMacGitverCore/RepoMan/Private/RefTreeNodePrivate.hpp renamed to Libs/libMacGitverCore/RepoMan/Data/RefTreeNodeData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef REPOMAN_REF_TREE_NODE_PRIVATE_HPP
2121
#define REPOMAN_REF_TREE_NODE_PRIVATE_HPP
2222

23-
#include "RepoMan/Private/BasePrivate.hpp"
23+
#include "RepoMan/Data/BaseData.hpp"
2424

2525
#include "RepoMan/RefTreeNode.hpp"
2626

0 commit comments

Comments
 (0)