DisplayUtils.h revision 4ff3ed45f3cf67d0abb66a26a8ec1c92ea0021c3
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce/** @file
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * Display helper declarations
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce */
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce/*
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * Copyright (C) 2010 Oracle Corporation
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce *
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * This file is part of VirtualBox Open Source Edition (OSE), as
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * available from http://www.virtualbox.org. This file is free software;
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * you can redistribute it and/or modify it under the terms of the GNU
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * General Public License (GPL) as published by the Free Software
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * Foundation, in version 2 as it comes in the "COPYING" file of the
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce */
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce#include "VBox/com/string.h"
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorceusing namespace com;
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce#define sSSMDisplayScreenshotVer 0x00010001
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce#define sSSMDisplayVer 0x00010001
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce#define sSSMDisplayVer2 0x00010002
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorceint readSavedGuestSize(const Utf8Str &strStateFilePath, uint32_t u32ScreenId, uint32_t *pu32Width, uint32_t *pu32Height);
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorceint readSavedDisplayScreenshot(const Utf8Str &strStateFilePath, uint32_t u32Type, uint8_t **ppu8Data, uint32_t *pcbData, uint32_t *pu32Width, uint32_t *pu32Height);
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorcevoid freeSavedDisplayScreenshot(uint8_t *pu8Data);
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce
7a468783159880f81f7cd9270ee94bf0954d6a56Simo Sorce