Leaked source code of windows server 2003
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.

77 lines
2.5 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : OutboundRouting.h //
  3. // //
  4. // DESCRIPTION : Header file for CFaxOutboundRoutingNode class //
  5. // //
  6. // AUTHOR : yossg //
  7. // //
  8. // HISTORY : //
  9. // Sep 29 1999 yossg create //
  10. // //
  11. // Copyright (C) 1999 Microsoft Corporation All Rights Reserved //
  12. /////////////////////////////////////////////////////////////////////////////
  13. #ifndef H_FAXOUTBOUNDNODE_H
  14. #define H_FAXOUTBOUNDNODE_H
  15. #include "snapin.h"
  16. #include "snpnscp.h" //#include "snpnode.h"
  17. class CFaxServerNode;
  18. class CFaxOutboundRoutingNode : public CNodeWithScopeChildrenList<CFaxOutboundRoutingNode, FALSE>
  19. {
  20. public:
  21. BEGIN_SNAPINCOMMAND_MAP(CFaxOutboundRoutingNode, FALSE)
  22. END_SNAPINCOMMAND_MAP()
  23. BEGIN_SNAPINTOOLBARID_MAP(CFaxOutboundRoutingNode)
  24. END_SNAPINTOOLBARID_MAP()
  25. SNAPINMENUID(IDR_SNAPIN_MENU)
  26. CFaxOutboundRoutingNode(CSnapInItem * pParentNode, CSnapin * pComponentData) :
  27. CNodeWithScopeChildrenList<CFaxOutboundRoutingNode, FALSE>(pParentNode, pComponentData )
  28. {
  29. }
  30. ~CFaxOutboundRoutingNode()
  31. {
  32. }
  33. virtual HRESULT SetVerbs(IConsoleVerb *pConsoleVerb);
  34. virtual HRESULT PopulateScopeChildrenList();
  35. virtual HRESULT InsertColumns(IHeaderCtrl* pHeaderCtrl);
  36. // virtual
  37. HRESULT OnRefresh(LPARAM arg,
  38. LPARAM param,
  39. IComponentData *pComponentData,
  40. IComponent * pComponent,
  41. DATA_OBJECT_TYPES type);
  42. void InitParentNode(CFaxServerNode *pParentNode)
  43. {
  44. m_pParentNode = pParentNode;
  45. }
  46. HRESULT InitDisplayName();
  47. HRESULT OnShowContextHelp(
  48. IDisplayHelp* pDisplayHelp, LPOLESTR helpFile);
  49. private:
  50. static CColumnsInfo m_ColsInfo;
  51. CFaxServerNode * m_pParentNode;
  52. };
  53. //typedef CNodeWithScopeChildrenList<CFaxOutboundRoutingNode, FALSE>
  54. // CBaseFaxOutboundRoutingNode;
  55. #endif //H_FAXOUTBOUNDNODE_H