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:
parent
7826cb2556
commit
d4367f42ba
3 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue