Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.6 KiB

  1. //========= Copyright � 1996-2002, Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef ATTRIBUTEELEMENTCHOICELIST_H
  8. #define ATTRIBUTEELEMENTCHOICELIST_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "dme_controls/inotifyui.h"
  13. #include "datamodel/dmehandle.h"
  14. //-----------------------------------------------------------------------------
  15. // Forward declarations
  16. //-----------------------------------------------------------------------------
  17. class CDmElement;
  18. //-----------------------------------------------------------------------------
  19. // returns the choice string that AddElementsRecursively would have returned
  20. //-----------------------------------------------------------------------------
  21. const char *GetChoiceString( CDmElement *pElement );
  22. //-----------------------------------------------------------------------------
  23. // Recursively adds all elements of the specified type under pElement into the choice list
  24. //-----------------------------------------------------------------------------
  25. void AddElementsRecursively( CDmElement *pElement, ElementChoiceList_t &list, const char *pElementType = NULL );
  26. //-----------------------------------------------------------------------------
  27. // Recursively adds all elements of the specified type under pElement into the vector
  28. //-----------------------------------------------------------------------------
  29. void AddElementsRecursively( CDmElement *pElement, DmeHandleVec_t &list, const char *pElementType = NULL );
  30. #endif // ATTRIBUTEELEMENTCHOICELIST_H