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.

77 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. llsdoc.h
  5. Abstract:
  6. Document implementation.
  7. Author:
  8. Don Ryan (donryan) 12-Feb-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _LLSDOC_H_
  14. #define _LLSDOC_H_
  15. class CLlsmgrDoc : public CDocument
  16. {
  17. DECLARE_DYNCREATE(CLlsmgrDoc)
  18. private:
  19. CController* m_pController;
  20. CDomain* m_pDomain;
  21. public:
  22. CLlsmgrDoc();
  23. virtual ~CLlsmgrDoc();
  24. void Update();
  25. CLicenses* GetLicenses();
  26. CProducts* GetProducts();
  27. CUsers* GetUsers();
  28. CMappings* GetMappings();
  29. CController* GetController();
  30. CDomain* GetDomain();
  31. virtual void Serialize(CArchive& ar);
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. //{{AFX_VIRTUAL(CLlsmgrDoc)
  37. public:
  38. virtual BOOL OnNewDocument();
  39. virtual void OnCloseDocument();
  40. virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  41. virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
  42. virtual void SetPathName(LPCTSTR lpszPathName, BOOL bAddToMRU = TRUE);
  43. protected:
  44. virtual BOOL SaveModified();
  45. //}}AFX_VIRTUAL
  46. //{{AFX_DISPATCH(CLlsmgrDoc)
  47. //}}AFX_DISPATCH
  48. DECLARE_DISPATCH_MAP()
  49. protected:
  50. //{{AFX_MSG(CLlsmgrDoc)
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. #endif // _LLSDOC_H_