1 /***************************************************************************
2 kfeedercontrol.h - description
4 begin : Wed Apr 17 2002
5 copyright : (C) 2002 by Arnold Kraschinski
6 email : arnold.k67@gmx.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef KFEEDERCONTROL_H
19 #define KFEEDERCONTROL_H
22 #include <dcopclient.h>
25 /** This class is used to control the KFeeder.
26 *@author Arnold Kraschinski
29 class KFeederControl
{
31 KFeederControl(int ID
, bool splash
, bool automatic
);
33 /** resets the KFeeder */
35 /** sets the type of food movement. 'true' the food is moved automatically.
36 * 'false' it is necessary to trigger the food movement. */
37 bool setAutomatic(bool a
);
38 /** sends one Point to the KFeeder */
40 /** sends n points to the KFeeder */
42 /** returns if the KProcess is still active. This is useful right after the start to
43 * see if it was successful
45 bool isActive() { return active
; };
46 /** returns the last result of the latest dcop operation */
47 bool getLastResult() { return lastResult
; };