-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit with date and time out of DISK_055 backup
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Das Objekt Kante stellt eine Verbindung von | ||
// zwei Knoten dar, wobei Daten wie Entfernung | ||
// usw. in der Kante gespeichert werden. | ||
|
||
#ifndef __KANTE_H__ | ||
#define __KANTE_H__ | ||
|
||
class CDrawView; | ||
class CDrawDoc; | ||
class CDrawNode; | ||
|
||
class CKante : public CDrawRect | ||
{ | ||
protected: | ||
DECLARE_SERIAL(CKante); | ||
CKante(); | ||
|
||
public: | ||
CKante(const CRect& position); | ||
|
||
// Implementation | ||
public: | ||
virtual void Serialize(CArchive& ar); | ||
virtual void Draw(CDC* pDC); | ||
|
||
protected: | ||
|
||
CDrawNode* node_AB; | ||
int entfernung_AB; | ||
|
||
CDrawNode* node_BA; | ||
int entfernung_BA; | ||
|
||
friend class CNodeTool; | ||
} | ||
|
||
#endif // Kante |