SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLIOBrowserPopup.h
Go to the documentation of this file.
1
/**
2
* \file SLIOBrowserDisplay.h
3
* \date October 2022
4
* \authors Marino von Wattenwyl
5
* \copyright http://opensource.org/licenses/GPL-3.0
6
* \remarks Please use clangformat to format the code. See more code style on
7
* https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style
8
*/
9
10
#ifndef SLPROJECT_SLIOBROWSERPOPUP_H
11
#define SLPROJECT_SLIOBROWSERPOPUP_H
12
13
#include <
SLFileStorage.h
>
14
#include <
SLIOMemory.h
>
15
16
#ifdef SL_STORAGE_WEB
17
//-----------------------------------------------------------------------------
18
//! SLIOStream implementation to display PNG files in a browser popup
19
/*!
20
* The popup with the PNG image is opened when SLIOWriterBrowserPopup::flush
21
* is called. The popup contains a link for the user to download the file.
22
*/
23
class
SLIOWriterBrowserPopup
:
public
SLIOWriterMemory
24
{
25
public
:
26
SLIOWriterBrowserPopup
(std::string path);
27
~SLIOWriterBrowserPopup
();
28
void
flush
();
29
};
30
//-----------------------------------------------------------------------------
31
#endif
32
33
#endif
// SLPROJECT_SLIOBROWSERPOPUP_H
SLFileStorage.h
SLIOMemory.h
SLIOWriterBrowserPopup
SLIOStream implementation to display PNG files in a browser popup.
Definition:
SLIOBrowserPopup.h:24
SLIOWriterBrowserPopup::~SLIOWriterBrowserPopup
~SLIOWriterBrowserPopup()
Definition:
SLIOBrowserPopup.cpp:22
SLIOWriterBrowserPopup::SLIOWriterBrowserPopup
SLIOWriterBrowserPopup(std::string path)
Definition:
SLIOBrowserPopup.cpp:16
SLIOWriterBrowserPopup::flush
void flush()
Definition:
SLIOBrowserPopup.cpp:27
SLIOWriterMemory
SLIOStream implementation for reading to memory.
Definition:
SLIOMemory.h:43
modules
utils
source
io
SLIOBrowserPopup.h
Generated by
1.9.1