SimpleComponentListBox.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef SIMPLECOMPONENTLISTBOX_H
  2. #define SIMPLECOMPONENTLISTBOX_H
  3. /*************************************************************************************************\
  4. SimpleComponentListBox.h : Interface for the SimpleComponentListBox component.
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. \*************************************************************************************************/
  9. #ifndef ALISTBOX_H
  10. #include "aListBox.h"
  11. #endif
  12. class LogisticsVariant;
  13. class LogisticsVehicle;
  14. class LogisticsComponent;
  15. //*************************************************************************************************
  16. /**************************************************************************************************
  17. CLASS DESCRIPTION
  18. SimpleComponentListBox:
  19. **************************************************************************************************/
  20. class ComponentListBox: public aListBox
  21. {
  22. public:
  23. ComponentListBox();
  24. ~ComponentListBox();
  25. void setMech( LogisticsVariant* pMech );
  26. void setVehicle( LogisticsVehicle* pVehicle );
  27. void setComponents( long componentCount, LogisticsComponent** components );
  28. private:
  29. ComponentListBox( const ComponentListBox& src );
  30. ComponentListBox& operator=( const ComponentListBox& omponentListBox );
  31. // HELPER FUNCTIONS
  32. };
  33. //*************************************************************************************************
  34. #endif // end of file ( SimpleComponentListBox.h )