diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-11 14:26:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-11 14:26:36 -0600 |
commit | 4d5797b479479c1e540b7068a3dea1a43e6d3b39 (patch) | |
tree | 37735027b9fab360bc1abc6cf688a06d58e3807a /krandr/randr.h | |
parent | e9b3f195e2d568e25b8b73810503518e4e7f8480 (diff) | |
download | tdelibs-4d5797b479479c1e540b7068a3dea1a43e6d3b39.tar.gz tdelibs-4d5797b479479c1e540b7068a3dea1a43e6d3b39.zip |
Add profile support to libkrandr
Diffstat (limited to 'krandr/randr.h')
-rw-r--r-- | krandr/randr.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/krandr/randr.h b/krandr/randr.h index b2832ef60..b4c830f02 100644 --- a/krandr/randr.h +++ b/krandr/randr.h @@ -29,12 +29,33 @@ class KTimerDialog; class RandRScreenPrivate; -class SingleScreenData { +class KRANDR_EXPORT HotPlugRule { + public: + enum states { + AnyState = 0, + Connected = 1, + Disconnected = 2 + }; + + public: + HotPlugRule(); + virtual ~HotPlugRule(); + + public: + TQStringList outputs; + TQValueList< int > states; + TQString profileName; +}; + +typedef TQValueList< HotPlugRule > HotPlugRulesList; + +class KRANDR_EXPORT SingleScreenData { public: SingleScreenData(); virtual ~SingleScreenData(); public: + TQString screenUniqueName; TQString screenFriendlyName; bool generic_screen_detected; bool screen_connected; |