home *** CD-ROM | disk | FTP | other *** search
- #ifndef __RELATION_H__
- #define __RELATION_H__
-
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- // Dispatch interfaces referenced by this interface
- class COleFont;
- class CEntity;
-
- /////////////////////////////////////////////////////////////////////////////
- // CRelation wrapper class
-
- class CRelation : public COleDispatchDriver
- {
- public:
- CRelation() {} // Calls COleDispatchDriver default constructor
- CRelation(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- CRelation(const CRelation& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
-
- // Attributes
- public:
- long GetType();
- void SetType(long);
- long GetSourceArrow();
- void SetSourceArrow(long);
- long GetDestinationArrow();
- void SetDestinationArrow(long);
- long GetThickness();
- void SetThickness(long);
- unsigned long GetBackColor();
- void SetBackColor(unsigned long);
- unsigned long GetTextColor();
- void SetTextColor(unsigned long);
- CString GetText();
- void SetText(LPCTSTR);
- long GetUserData();
- void SetUserData(long);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- BOOL GetReadOnly();
- void SetReadOnly(BOOL);
- BOOL GetCanDelete();
- void SetCanDelete(BOOL);
- BOOL GetCanMoveEndPoints();
- void SetCanMoveEndPoints(BOOL);
- BOOL GetCanMoveMidPoints();
- void SetCanMoveMidPoints(BOOL);
-
- // Operations
- public:
- BOOL PropertyPage(short cPage);
- void Repaint();
- CString ClassName();
- long UserID();
- CString UserName();
- CEntity SourceEntity();
- CEntity DestinationEntity();
- void Delete();
- BOOL BringIntoView();
- };
-
- #endif // __RELATION_H__
-