Hi
I've added fix for inlines (attached), but there's remaining issue:
bytearraytablelayouttest.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: int __thiscall
KHEUI::ByteArrayTableLayout::noOfLinesPerPage(void)const "
([EMAIL PROTECTED]@KHEUI@@QBEHXZ) referenced in
function "private: void __thiscall
KHEUI::ByteArrayTableLayoutTest::testConstructor(void)"
([EMAIL PROTECTED]@KHEUI@@AAEXXZ)
[ + more errors like this ]
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
Index: okteta/gui/bytearraytablelayout.h
===================================================================
--- okteta/gui/bytearraytablelayout.h (wersja 822491)
+++ okteta/gui/bytearraytablelayout.h (kopia robocza)
@@ -66,29 +66,29 @@
public: // given values
/** */
- int startOffset() const;
+ inline int startOffset() const;
/** */
- int firstLineOffset() const;
+ inline int firstLineOffset() const;
/** returns number of bytes per line */
- int noOfBytesPerLine() const;
+ inline int noOfBytesPerLine() const;
/** returns the length of the displayed byte array section */
- int length() const;
+ inline int length() const;
/** returns number of lines per visual page */
- int noOfLinesPerPage() const;
+ inline int noOfLinesPerPage() const;
public: // calculated values
- int startLine() const;
- int startLinePosition() const;
+ inline int startLine() const;
+ inline int startLinePosition() const;
/** returns the coord of the start */
- Coord startCoord() const;
+ inline Coord startCoord() const;
- int finalLine() const;
- int finalLinePosition() const;
+ inline int finalLine() const;
+ inline int finalLinePosition() const;
/** returns the coord of the end */
- Coord finalCoord() const;
+ inline Coord finalCoord() const;
/** tells how much lines this layout needs (incl. blank leading lines due
to mStartOffset and mFirstLineOffset) */
- int noOfLines() const;
+ inline int noOfLines() const;
public: // value calculation service
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows