1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

PDFViewer: Port to Core::Stream::File

This commit is contained in:
Karol Kosek 2023-01-09 21:28:05 +01:00 committed by Sam Atkins
parent 7826cb2556
commit d4367f42ba
3 changed files with 11 additions and 11 deletions

View file

@ -26,13 +26,13 @@ public:
~PDFViewerWidget() override = default;
void initialize_menubar(GUI::Window&);
void open_file(Core::File&);
void open_file(StringView path, NonnullOwnPtr<Core::Stream::File> file);
private:
PDFViewerWidget();
void initialize_toolbar(GUI::Toolbar&);
PDF::PDFErrorOr<void> try_open_file(Core::File&);
PDF::PDFErrorOr<void> try_open_file(StringView path, NonnullOwnPtr<Core::Stream::File> file);
RefPtr<PDFViewer> m_viewer;
RefPtr<SidebarWidget> m_sidebar;