summaryrefslogtreecommitdiffstats
path: root/krfb/krfb/krfbiface.h
blob: 365c4b7aa7db877be31fc6b72c2cef5adcd323ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __KRFB_IFACE_H
#define __KRFB_IFACE_H

#include <dcopobject.h>

class krfbIface : virtual public DCOPObject
{
        K_DCOP
k_dcop:

	/**
	 * Quits krfb, connected clients will be disconnected.
	 */
	virtual void exit() = 0;

	/**
	 * If this feature is activated krfb allows the connecting client to
	 * control the desktop (pointer & keyboard).
	 * @return a true to activate desktop control
	 */
	virtual void setAllowDesktopControl(bool a) = 0;
	
};
#endif