⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 display_adapterinstanceobject.h

📁 270的linux说明
💻 H
字号:
/*

Copyright (c) 2008, Intel Corporation. 

All rights reserved.

 

Redistribution and use in source and binary forms, with or without modification, 
are permitted provided that the following conditions are met:


    * Redistributions of source code must retain the above copyright notice, 
this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright notice, 
this list of conditions and the following disclaimer in the documentation and/or 
other materials provided with the distribution.

    * Neither the name of Intel Corporation nor the names of its contributors 
may be used to endorse or promote products derived from this software without 
specific prior written permission.

 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
OF SUCH DAMAGE.

*/#ifndef _DISPLAY_SCREENINSTANCEOBJECT_H#define _DISPLAY_SCREENINSTANCEOBJECT_H#include "../framework/base_InstanceObject.h"#include "../framework/base_Property.h"#include "display_DisplayMode.h"class ServerDisplayAdapterInstanceObject;CLASSEXPANSION      (DisplayAdapterIdClass,                         IntelMobileString,              "Id",                       false, true,  5000);CLASSEXPANSION      (DisplayAdapterColorDepthClass,            IntelMobileUInt,                "ColorDepth",          false, false, 5000);CLASSEXPANSION      (DisplayAdapterHorizontalResolutionClass,       IntelMobileUInt,                "HorizontalResolution",     false, false, 5000);CLASSEXPANSION      (DisplayAdapterVerticalResolutionClass,         IntelMobileUInt,                "VerticalResolution",       false, false, 5000);CLASSEXPANSION      (DisplayAdapterRefreshRateClass,                IntelMobileUInt,                "RefreshRate",              false, false, 5000);CLASSEXPANSION      (DisplayAdapterRotationSupportedClass,          IntelMobileBool,                "RotationSupported",        false, true,  5000);CLASSEXPANSION_DYNAMICSET      (DisplayAdapterOrientationClass,       IntelMobileOrientationEnum,   "Orientation",     true, false, 5000);CLASSEXPANSION      (DisplayAdapterIsPrimaryClass,       IntelMobileBool,   "IsPrimary",     false, false, 5000);CLASSEXPANSION      (DisplayAdapterPixelDensityClass,       IntelMobileUInt,   "PixelDensity",     false, false, 5000);CLASSEXPANSION_DYNAMICSET      (DisplayAdapterScreenStateClass,       IntelMobileScreenStateEnum,   "ScreenState",     true, false, 5000);CLASSEXPANSION      (DisplayAdapterProductNameClass,       IntelMobileString,   "ProductName",     false, true, 5000);CLASSEXPANSION      (DisplayAdapterManufacturerClass,       IntelMobileString,   "Manufacturer",     false, true, 5000);CLASSEXPANSION      (DisplayAdapterMemorySizeClass,       IntelMobileUInt,   "MemorySize",     false, false, 5000);CLASSEXPANSION_DYNAMICSET      (DisplayAdapterBrightnessClass,       IntelMobileFloat,   "Brightness",     true, false, 5000);class ServerDisplayAdapterInstanceObject : public ServerInstanceObject{public:    ServerDisplayAdapterInstanceObject( const IntelMobileString& szKey, CLog& theLog, const IntelMobileString sType = IntelMobileText("DisplayAdapter") );	virtual ~ServerDisplayAdapterInstanceObject()	{}public:    // Properties	DisplayAdapterIdClass                           Id;	DisplayAdapterColorDepthClass              ColorDepth;	DisplayAdapterHorizontalResolutionClass         HorizontalResolution;	DisplayAdapterVerticalResolutionClass           VerticalResolution;	DisplayAdapterRefreshRateClass                  RefreshRate;	DisplayAdapterOrientationClass         Orientation;	DisplayAdapterIsPrimaryClass							IsPrimary;	DisplayAdapterPixelDensityClass				PixelDensity;	DisplayAdapterProductNameClass	ProductName;	DisplayAdapterManufacturerClass  Manufacturer;	DisplayAdapterMemorySizeClass	MemorySize;	DisplayAdapterScreenStateClass			ScreenState;	DisplayAdapterBrightnessClass	Brightness;    // Methods   	virtual DisplayModesList GetValidModes() = 0;	virtual bool SetDisplayMode(DisplayMode mode/*int HorizontalResolution,int VerticalResolution,int ColorDepth,int RefreshRate*/)=0;	virtual bool SetScreenState(IntelMobileScreenStateEnum ScreenState)=0;	/*	virtual bool SetResolution(int horizontal, int vertical) = 0;	virtual bool SetColorDepth(int color) = 0;	virtual bool SetRefreshRate(int rate) = 0;	virtual bool ChangeDisplayMode(int horizontal, int vertical, int color, int rate) = 0;	virtual bool Rotate( IntelMobileRotationAngleType angle ) = 0;*/};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -