Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Oct 19, 2023
1 parent 62e8852 commit 6ea8923
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/Plugins/Pdf/pdf_image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
******************************************************************************/

#ifndef PDF_IMAGE_HPP
#define PDF_IMAGE_HPP

#include "PDFWriter/DictionaryContext.h"
#include "PDFWriter/ObjectsBasicTypes.h"
#include "PDFWriter/PDFWriter.h"
Expand Down Expand Up @@ -66,3 +69,5 @@ class pdf_raw_image {
CONCRETE_NULL_CODE (pdf_raw_image);

void hummus_pdf_image_size (url image, int& w, int& h);

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
******************************************************************************/

#include "Pdf/pdf_hummus_renderer.hpp"
#include "Pdf/pdf_image.hpp"
#include "sys_utils.hpp"
#include <QtTest/QtTest>

Expand Down Expand Up @@ -46,4 +46,4 @@ TestHummusPdfImageSize::test_hummus_pdf_image_size () {
}

QTEST_MAIN (TestHummusPdfImageSize)
#include "pdf_size_test.moc"
#include "pdf_image_test.moc"
1 change: 1 addition & 0 deletions xmake/tests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function add_target_cpp_test(filepath, dep)
end
add_packages("s7")
add_packages("lolly")
add_packages("pdfhummus")

add_includedirs({"$(buildir)", "tests/Base"})
add_includedirs(libmogan_headers)
Expand Down

0 comments on commit 6ea8923

Please sign in to comment.