AcDblClkEdit.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. //////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright 2015 Autodesk, Inc. All rights reserved.
  5. //
  6. // Use of this software is subject to the terms of the Autodesk license
  7. // agreement provided at the time of installation or download, or which
  8. // otherwise accompanies this software in either electronic or hard copy form.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. //
  12. // DoubleClickEdit.h - Double-click Editing (for external developers)
  13. //
  14. // DESCRIPTION: AcDbDoubleClickEdit Protocol extension abstract base class
  15. //
  16. // NOTE:
  17. // Default implementation to be attached to AcDbEntity as a catch-all. This
  18. // guarantees that this protocol extension will be found for any entity so
  19. // the search up the AcRxClass tree will not fail and abort AutoCAD.
  20. //
  21. #ifndef DOUBLECLICKEDIT_H
  22. #define DOUBLECLICKEDIT_H
  23. #include "acdb.h"
  24. #include "dbmain.h"
  25. #pragma pack (push, 8)
  26. class ADESK_NO_VTABLE AcDbDoubleClickEdit : public AcRxObject
  27. //
  28. // AcDbDoubleClickEdit Protocol extension abstract base class.
  29. //
  30. {
  31. public:
  32. ACRX_DECLARE_MEMBERS(AcDbDoubleClickEdit);
  33. virtual void startEdit(AcDbEntity *pEnt, AcGePoint3d pt) = 0;
  34. virtual void finishEdit(void) = 0;
  35. };
  36. #pragma pack (pop)
  37. #endif //DOUBLECLICKEDIT_H