AcFdUi.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. // Name: AcFdUi.h
  12. //
  13. // Description: Header for global methods exported from AcFdUi module
  14. //
  15. //////////////////////////////////////////////////////////////////////////////
  16. #pragma once
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #ifdef ACFD_API
  21. # define ACFDUI_PORT __declspec(dllexport)
  22. #else
  23. # define ACFDUI_PORT
  24. #endif
  25. class CAcFdUiFieldManager;
  26. class AcDbField;
  27. class AcDbDatabase;
  28. // Category ids
  29. #define ACFDUI_CATEGORY_ID_ALL -1
  30. // Verticals and other applications can use category ids starting from
  31. // this
  32. #define ACFDUI_CATID_USER_FIRST 1000
  33. // Verticals and other applications can use field ids starting from this
  34. #define ACFDUI_FIELDID_USER_FIRST 50000
  35. // Exported public functions
  36. //
  37. ACFDUI_PORT CAcFdUiFieldManager* AcFdUiGetFieldManager(void);
  38. ACFDUI_PORT int AcFdUiInvokeFieldDialog(AcDbField*& pNewField,
  39. BOOL bEdit,
  40. AcDbDatabase* pDb,
  41. CWnd* pParent = NULL);