Add MockCoordTrans.h stub for CommonUnitTestsPlaceholder

- Created minimal stub to satisfy CMake configuration
- Required for BUILD_TESTING=ON builds

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-19 15:25:30 +02:00
1 parent 4f09d01afb
commit 0fcfac2f26
1 file changed
+19
@@ -0,0 +1,19 @@
// MockCoordTrans.h - Stub mock for CoordTrans functionality
// This is a placeholder to allow builds without full CoordTrans implementation
#ifndef MOCK_COORD_TRANS_H
#define MOCK_COORD_TRANS_H
#include <QString>
#include <QPointF>
// Minimal stub to satisfy linker requirements
namespace LtsCoordTrans {
// Placeholder types
struct UtmCoordinate {
static UtmCoordinate fromMgrs(const QString&) { return UtmCoordinate(); }
QPointF geographic() const { return QPointF(); }
};
}
#endif // MOCK_COORD_TRANS_H