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.

79 lines
2.5 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : InboundRouting.h //
  3. // //
  4. // DESCRIPTION : Header file for CFaxInboundRoutingNode 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_FAXINBOUNDROUTINGNODE_H
  14. #define H_FAXINBOUNDROUTINGNODE_H
  15. #include "snapin.h"
  16. //#include "snpnode.h"
  17. #include "snpnscp.h"
  18. class CFaxServerNode;
  19. class CFaxInboundRoutingNode : public CNodeWithScopeChildrenList<CFaxInboundRoutingNode, FALSE>
  20. {
  21. public:
  22. BEGIN_SNAPINCOMMAND_MAP(CFaxInboundRoutingNode, FALSE)
  23. END_SNAPINCOMMAND_MAP()
  24. BEGIN_SNAPINTOOLBARID_MAP(CFaxInboundRoutingNode)
  25. END_SNAPINTOOLBARID_MAP()
  26. SNAPINMENUID(IDR_SNAPIN_MENU)
  27. CFaxInboundRoutingNode(CSnapInItem * pParentNode, CSnapin * pComponentData) :
  28. CNodeWithScopeChildrenList<CFaxInboundRoutingNode, FALSE>(pParentNode, pComponentData )
  29. {
  30. }
  31. ~CFaxInboundRoutingNode()
  32. {
  33. }
  34. virtual HRESULT PopulateScopeChildrenList();
  35. virtual HRESULT InsertColumns(IHeaderCtrl* pHeaderCtrl);
  36. virtual HRESULT SetVerbs(IConsoleVerb *pConsoleVerb);
  37. // virtual
  38. HRESULT OnRefresh(LPARAM arg,
  39. LPARAM param,
  40. IComponentData *pComponentData,
  41. IComponent * pComponent,
  42. DATA_OBJECT_TYPES type);
  43. void InitParentNode(CFaxServerNode *pParentNode)
  44. {
  45. m_pParentNode = pParentNode;
  46. }
  47. HRESULT InitDisplayName();
  48. HRESULT OnShowContextHelp(
  49. IDisplayHelp* pDisplayHelp, LPOLESTR helpFile);
  50. private:
  51. static CColumnsInfo m_ColsInfo;
  52. CFaxServerNode * m_pParentNode;
  53. };
  54. typedef CNodeWithScopeChildrenList<CFaxInboundRoutingNode, FALSE>
  55. CBaseFaxInboundRoutingNode;
  56. #endif //H_FAXINBOUNDROUTINGNODE_H