Debian Codegraph @

src/entry.h

raw symbols SCIP
1 /***************************************************************************
2 entry.h - description
3 -------------------
4 begin : Wed Jan 10 1996
5 copyright : (C) 1996 by Waldemar Baraldi
6 email : [email protected]
7 ***************************************************************************/
8
9 /***************************************************************************
10 * *
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. *
15 * *
16 ***************************************************************************/
17
18 #ifndef ENTRY_H
19 #define ENTRY_H
20
21 #include "pipe.h"
22
23 class Entry: public Pipe{
24
25 public:
26
27 Entry(CardinalPoint connection);
28 ~Entry();
29
30 bool isRemovable();
31
32 bool hasConnection(CardinalPoint con);
33
34 CardinalPoint getOutput(CardinalPoint input);
35
36 void restrictAsOutput(CardinalPoint con){};
37
38 bool isRestrictedAsOutput(CardinalPoint con){return true;};
39
40 void incFullLevel(CardinalPoint input,unsigned int amount);
41
42 int getFullLevel(CardinalPoint input);
43
44 Pointer * getPointer();
45
46 void paint(VideoManager * vm);
47
48 protected:
49
50 CardinalPoint con;
51 };
52
53 #endif
54