WD
|
#include <vncserverparameters.h>
Classes | |
struct | PIXEL_FORMAT |
Public Member Functions | |
ServerParameters () | |
ServerParameters (qint16 width, qint16 height, PIXEL_FORMAT *pixelFormat, QString *desktopName) | |
~ServerParameters () | |
void | setWidth (qint16 width) |
void | setHeight (qint16 height) |
void | setPixelFromat (PIXEL_FORMAT *pixels) |
void | setName (QString *name) |
qint16 | getWidth () const |
qint16 | getHeight () const |
const PIXEL_FORMAT * | getPixelFromat () const |
const QString * | getName () const |
It is container for server parameters. Client recieve them in server response.
ServerParameters::ServerParameters | ( | ) |
Default constructor
ServerParameters::ServerParameters | ( | qint16 | width, |
qint16 | height, | ||
PIXEL_FORMAT * | pixelFormat, | ||
QString * | desktopName | ||
) |
Constructor
width | - monitor resolution width |
height | - monitor resolution height |
pixelFormat | - pointer to struct with pixel format information |
desktopName | - pointer to string with remote desktop name |
ServerParameters::~ServerParameters | ( | ) |
Destructor
qint16 ServerParameters::getHeight | ( | ) | const |
Display resolution height getter
const QString* ServerParameters::getName | ( | ) | const |
Remote desktop name getter
const PIXEL_FORMAT* ServerParameters::getPixelFromat | ( | ) | const |
Display resolution height getter
qint16 ServerParameters::getWidth | ( | ) | const |
Display resolution width getter
void ServerParameters::setHeight | ( | qint16 | height | ) |
Height parameter setter
height | - display vertical resolution |
void ServerParameters::setName | ( | QString * | name | ) |
Desktop name setter
pixels | - pointer to struct with pixels format |
void ServerParameters::setPixelFromat | ( | PIXEL_FORMAT * | pixels | ) |
Pixel format setter
pixels | - pointer to struct with pixels format |
void ServerParameters::setWidth | ( | qint16 | width | ) |
Width parameter setter
width | - display horizontal resolution |