blob: 333a2d21ae7e4643fca17bdeef5a791d732492d4 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/* Copyright (C) 1996,1997,1998,1999,2000 by Salvador E. Tropea (SET),
see copyrigh file for details */
#if defined( Uses_TSIndicator ) && !defined( __TSIndicator )
#define __TSIndicator
class TRect;
class TPoint;
class TCEditor;
class TSIndicator : public TIndicator
{
public:
TSIndicator(const TRect &bounds) :
TIndicator(bounds) {};
virtual void draw();
TCEditor *editor;
private:
virtual const char *streamableName() const
{ return name; }
protected:
TSIndicator( StreamableInit );
public:
static const char * const name;
static TStreamable *build();
};
inline ipstream& operator >> ( ipstream& is, TSIndicator& cl )
{ return is >> (TStreamable&)cl; }
inline ipstream& operator >> ( ipstream& is, TSIndicator*& cl )
{ return is >> (void *&)cl; }
inline opstream& operator << ( opstream& os, TSIndicator& cl )
{ return os << (TStreamable&)cl; }
inline opstream& operator << ( opstream& os, TSIndicator* cl )
{ return os << (TStreamable *)cl; }
#endif // Uses_TSIndicator
|