Source code of Windows XP (NT5)
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.

59 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. ilogging.h
  5. Abstract:
  6. Internal implementation for the logging subfolder.
  7. Environment:
  8. WIN32 User Mode
  9. Author:
  10. Darwin Ouyang (t-darouy) 30-Sept-1997
  11. --*/
  12. #ifndef __ILOGGING_H_
  13. #define __ILOGGING_H_
  14. class CInternalLogCat; // forward decl
  15. class CInternalLogging : public CInternalNode
  16. {
  17. public:
  18. // constructor / destructor
  19. CInternalLogging( CInternalNode * pParent, CFaxComponentData * pCompData );
  20. ~CInternalLogging();
  21. // member functions
  22. virtual const GUID * GetNodeGUID();
  23. virtual const LPTSTR GetNodeDisplayName();
  24. virtual const LPTSTR GetNodeDescription();
  25. virtual const LONG_PTR GetCookie();
  26. virtual CInternalNode * GetThis() { return this; }
  27. virtual const int GetNodeDisplayImage() { return IDI_LOGGING; }
  28. virtual const int GetNodeDisplayOpenImage() { return IDI_LOGGING; }
  29. // internal event handlers
  30. virtual HRESULT ResultOnShow(CFaxComponent* pComp, CFaxDataObject * lpDataObject, LPARAM arg, LPARAM param);
  31. virtual HRESULT ResultOnDelete(CFaxComponent* pComp, CFaxDataObject * lpDataObject, LPARAM arg, LPARAM param);
  32. HRESULT CommitChanges( CFaxComponent * pComp );
  33. private:
  34. HRESULT InsertItem( CInternalLogCat ** pLogCat,
  35. PFAX_LOG_CATEGORY Category );
  36. LPRESULTDATA pIResultData;
  37. HANDLE faxHandle;
  38. };
  39. #endif