public:
virtual ~IDSDisplayDeviceOutput() = default;
-
- virtual ConnectorType getConnectType() = 0;
- virtual ConnectState getConnectState() = 0;
- virtual std::list<DSDisplayDeviceOutputMode *> getAvailableModes() = 0;
- virtual int getResolutionWidth() = 0;
- virtual int getResolutionHeight() = 0;
- virtual int getPhysicalMMWidth() = 0;
- virtual int getPhysicalMMHeight() = 0;
- virtual bool setMode(DSDisplayDeviceOutputMode *mode) = 0;
- virtual DSDisplayDeviceOutputMode *getMode() = 0;
- virtual bool setDPMSMode(DPMSMode dpmsMode) = 0;
- virtual DPMSMode getDPMSMode() = 0;
- virtual IDSDisplayDeviceHWC *getHWC() = 0;
+ virtual ConnectorType getConnectType() = 0;
+ virtual ConnectState getConnectState() = 0;
+ virtual std::list<DSDisplayDeviceOutputMode *> getAvailableModes() = 0;
+ virtual int getResolutionWidth() = 0;
+ virtual int getResolutionHeight() = 0;
+ virtual int getPhysicalMMWidth() = 0;
+ virtual int getPhysicalMMHeight() = 0;
+ virtual bool setMode(DSDisplayDeviceOutputMode *mode) = 0;
+ virtual DSDisplayDeviceOutputMode *getMode() = 0;
+ virtual bool setDPMSMode(DPMSMode dpmsMode) = 0;
+ virtual DPMSMode getDPMSMode() = 0;
+ virtual IDSDisplayDeviceHWC *getHWC() = 0;
// Callback methods
virtual void registerCallbackOutputConnected(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;
virtual void registerCallbackOutputDisconnected(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;
virtual void registerCallbackOutputResolutionSet(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;
};
+
}
#endif