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

Commit 8488634

Browse files
committed
Move some RepoMan code around
1 parent aea80b8 commit 8488634

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
@@ -32,20 +32,21 @@ SET( SRC_FILES
3232
MacGitver/GitPatchConsumer.cpp
3333

3434
RepoMan/AutoRefresher.cpp
35-
RepoMan/Base.cpp
36-
RepoMan/Ref.cpp
37-
RepoMan/Branch.cpp
38-
RepoMan/CollectionNode.cpp
3935
RepoMan/Events.cpp
40-
RepoMan/Repo.cpp
41-
RepoMan/RepoMan.cpp
42-
RepoMan/Remote.cpp
43-
RepoMan/Tag.cpp
44-
RepoMan/RefLog.cpp
45-
RepoMan/Submodule.cpp
46-
RepoMan/RefTreeNode.cpp
47-
RepoMan/Namespace.cpp
48-
RepoMan/Head.cpp
36+
37+
RepoMan/Frontend/Base.cpp
38+
RepoMan/Frontend/Branch.cpp
39+
RepoMan/Frontend/CollectionNode.cpp
40+
RepoMan/Frontend/Namespace.cpp
41+
RepoMan/Frontend/Ref.cpp
42+
RepoMan/Frontend/RefLog.cpp
43+
RepoMan/Frontend/RefTreeNode.cpp
44+
RepoMan/Frontend/Remote.cpp
45+
RepoMan/Frontend/Repo.cpp
46+
RepoMan/Frontend/RepoMan.cpp
47+
RepoMan/Frontend/Submodule.cpp
48+
RepoMan/Frontend/Tag.cpp
49+
RepoMan/Frontend/Head.cpp
4950

5051
RepoMan/Private/Dumper.cpp
5152

@@ -127,20 +128,22 @@ SET( PRI_HDR_FILES
127128

128129
RepoMan/AutoRefresher.hpp
129130

130-
RepoMan/Private/BasePrivate.hpp
131-
RepoMan/Private/BranchPrivate.hpp
132-
RepoMan/Private/CollectionNodePrivate.hpp
133-
RepoMan/Private/NamespacePrivate.hpp
134-
RepoMan/Private/RefPrivate.hpp
135-
RepoMan/Private/RefLogPrivate.hpp
136-
RepoMan/Private/RefTreeNodePrivate.hpp
137-
RepoMan/Private/RemotePrivate.hpp
138-
RepoMan/Private/RepoPrivate.hpp
139-
RepoMan/Private/RepoManPrivate.hpp
140-
RepoMan/Private/SubmodulePrivate.hpp
141-
RepoMan/Private/TagPrivate.hpp
142131
RepoMan/Private/Dumper.hpp
143-
RepoMan/Private/HeadPrivate.hpp
132+
133+
RepoMan/Data/BaseData.hpp
134+
RepoMan/Data/BranchData.hpp
135+
RepoMan/Data/CollectionNodeData.hpp
136+
RepoMan/Data/NamespaceData.hpp
137+
RepoMan/Data/RefData.hpp
138+
RepoMan/Data/RefLogData.hpp
139+
RepoMan/Data/RefTreeNodeData.hpp
140+
RepoMan/Data/RemoteData.hpp
141+
RepoMan/Data/RepoData.hpp
142+
RepoMan/Data/RepoManData.hpp
143+
RepoMan/Data/SubmoduleData.hpp
144+
RepoMan/Data/TagData.hpp
145+
RepoMan/Data/HeadData.hpp
146+
144147

145148
RepoMan/Config/RepoManConfigPage.hpp
146149

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)