1 #ifndef KWIN_INTERFACE_H
2 #define KWIN_INTERFACE_H
4 #include <dcopobject.h>
6 class KWinInterface :
virtual public DCOPObject
12 virtual ASYNC cascadeDesktop() = 0;
13 virtual ASYNC unclutterDesktop() = 0;
14 virtual ASYNC reconfigure() = 0;
15 virtual ASYNC killWindowId(
unsigned long winId) = 0;
16 virtual ASYNC suspendWindowId(
unsigned long winId) = 0;
17 virtual ASYNC resumeWindowId(
unsigned long winId) = 0;
18 virtual bool isResumeableWindowID(
unsigned long winId) = 0;
19 virtual void refresh() = 0;
20 virtual void doNotManage(TQString)= 0;
21 virtual void showWindowMenuAt(
unsigned long winId,
int x,
int y) = 0;
22 virtual void showWindowMenu(
unsigned long winId) = 0;
23 virtual void kDestopResized() = 0;
24 virtual void setDesktopLayout(
int orientation,
int x,
int y)= 0;
25 virtual bool setCurrentDesktop(
int)= 0;
26 virtual int currentDesktop()
const = 0;
27 virtual void nextDesktop() = 0;
28 virtual void previousDesktop() = 0;
29 virtual void circulateDesktopApplications() = 0;
30 virtual void updateOverlappingShadows(
unsigned long window) = 0;
31 virtual void setShadowed(
unsigned long window,
bool shadowed) = 0;
32 virtual void tileWindowToBorder(
unsigned long w1,
int location) = 0;
33 virtual void tileTwoWindowsHorizontally(
unsigned long w1,
unsigned long w2) = 0;
34 virtual void tileTwoWindowsVertically(
unsigned long w1,
unsigned long w2) = 0;
35 virtual void tileFourWindowsInGrid(
unsigned long w1,
unsigned long w2,
unsigned long w3,
unsigned long w4) = 0;
38 virtual void startKompmgr() = 0;
39 virtual void stopKompmgr() = 0;
40 virtual bool kompmgrIsRunning() = 0;
41 virtual void kompmgrReloadSettings() = 0;
42 virtual void setOpacity(
unsigned long winId,
unsigned int opacityPercent) = 0;
43 virtual void setShadowSize(
unsigned long winId,
unsigned int shadowSizePercent) = 0;
44 virtual void setUnshadowed(
unsigned long winId) = 0;
48 virtual void kompmgrStarted() = 0;
49 virtual void kompmgrStopped() = 0;
52 virtual void dcopResetAllClients();