-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master back into HeaderRefactor
Lots of changes went on in this change set - mainly to do with warnings as errors. Currently the TEST project does not compile, but the rest do.
- Loading branch information
1 parent
acbc694
commit e5be8c2
Showing
108 changed files
with
744 additions
and
714 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,34 @@ | ||
#pragma once | ||
|
||
class CBitmapPartFile | ||
class CBitmapPartFile final | ||
{ | ||
public: | ||
QString m_strFile; | ||
QString m_tempFileName; | ||
int m_lStartRow; | ||
int m_lEndRow; | ||
int m_lWidth; | ||
int m_lNrBitmaps; | ||
int m_lWidth{ 0 }; | ||
int m_lNrBitmaps{ 0 }; | ||
|
||
private: | ||
void CopyFrom(const CBitmapPartFile& bp) | ||
{ | ||
m_strFile = bp.m_strFile; | ||
m_tempFileName = bp.m_tempFileName; | ||
m_lStartRow = bp.m_lStartRow; | ||
m_lEndRow = bp.m_lEndRow; | ||
m_lWidth = bp.m_lWidth; | ||
m_lNrBitmaps = bp.m_lNrBitmaps; | ||
}; | ||
|
||
public: | ||
CBitmapPartFile(const QString& szFile, int lStartRow, int lEndRow) | ||
{ | ||
m_strFile = szFile; | ||
m_lStartRow = lStartRow; | ||
m_lEndRow = lEndRow; | ||
m_lWidth = 0; | ||
m_lNrBitmaps = 0; | ||
}; | ||
|
||
CBitmapPartFile(const CBitmapPartFile& bp) | ||
{ | ||
CopyFrom(bp); | ||
}; | ||
|
||
const CBitmapPartFile& operator= (const CBitmapPartFile& bp) | ||
{ | ||
CopyFrom(bp); | ||
return *this; | ||
}; | ||
CBitmapPartFile(QString&& tmpFile, const int lStartRow, const int lEndRow) noexcept : | ||
m_tempFileName{ std::move(tmpFile) }, | ||
m_lStartRow{ lStartRow }, | ||
m_lEndRow{ lEndRow } | ||
{}; | ||
|
||
virtual ~CBitmapPartFile() | ||
{} | ||
CBitmapPartFile(const CBitmapPartFile&) = default; | ||
CBitmapPartFile(CBitmapPartFile&&) noexcept = default; | ||
CBitmapPartFile& operator=(const CBitmapPartFile&) = default; | ||
CBitmapPartFile& operator=(CBitmapPartFile&&) noexcept = default; | ||
~CBitmapPartFile() = default; | ||
}; | ||
typedef std::vector<CBitmapPartFile> BITMAPPARTFILEVECTOR; |
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.