AGCStations.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef __AGCStations_h__
  2. #define __AGCStations_h__
  3. /////////////////////////////////////////////////////////////////////////////
  4. // AGCStations.h : Declaration of the CAGCStations class.
  5. //
  6. #include "resource.h"
  7. #include "IAGCCollectionImpl.h"
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CAGCStations
  10. //
  11. class ATL_NO_VTABLE CAGCStations :
  12. public IAGCCollectionImpl<CAGCStations, const StationListIGC, IAGCStations,
  13. IstationIGC, IAGCStation, &LIBID_AGCLib>,
  14. public CComCoClass<CAGCStations, &CLSID_AGCStations>
  15. {
  16. // Declarations
  17. public:
  18. DECLARE_REGISTRY_RESOURCEID(IDR_AGCStations)
  19. DECLARE_PROTECT_FINAL_CONSTRUCT()
  20. // Interface Map
  21. public:
  22. BEGIN_COM_MAP(CAGCStations)
  23. COM_INTERFACE_ENTRY(IAGCStations)
  24. COM_INTERFACE_ENTRIES_IAGCCollectionImpl()
  25. END_COM_MAP()
  26. // Category Map
  27. public:
  28. BEGIN_CATEGORY_MAP(CAGCStations)
  29. IMPLEMENTED_CATEGORY(CATID_AGC)
  30. END_CATEGORY_MAP()
  31. };
  32. /////////////////////////////////////////////////////////////////////////////
  33. #endif //__AGCStations_h__