SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
c
d
e
f
h
i
k
l
m
n
r
s
t
Properties
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
b
c
e
f
g
i
j
m
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
Typedefs
a
c
h
j
o
s
t
Enumerations
a
c
d
e
h
s
t
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
Macros
a
b
e
f
g
i
l
m
o
p
s
t
u
w
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