-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cosmin/persistence refactory polished (#71)
* dev: Change Image factory from singleton to regular class. * dev: Add ImageFactory usage. * dev: Replace the old persistence system. * dev: Replace GetNewImagePath. * dev: Comment tests, add not implemented exception. * dev: Replace ImageView with ProjectManagementSystem. * tests: Fix tests. * dev: Remove unused files. * dev: Fix warnings.
- Loading branch information
Showing
72 changed files
with
448 additions
and
1,743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#pragma once | ||
|
||
#include <pb/util/Util.h> | ||
#include <pb/util/Traits.h> | ||
|
||
namespace PB { | ||
struct Command {}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,6 @@ | ||
#pragma once | ||
|
||
#include <ranges> | ||
#include <unordered_map> | ||
#include <unordered_set> | ||
|
||
#include <pb/Config.h> | ||
#include <pb/ImageMonitor.h> | ||
#include <pb/StagedImages.h> | ||
#include <pb/image/Image.h> | ||
#include <pb/util/Util.h> | ||
|
||
namespace PB { | ||
class ImageViews final { | ||
public: | ||
ImageMonitor &imageMonitor() { return mImageMonitor; } | ||
StagedImages &stagedImages() { return mStagedImages; } | ||
|
||
private: | ||
ImageMonitor mImageMonitor; | ||
StagedImages mStagedImages; | ||
}; | ||
|
||
} // namespace PB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.