// GaugeBrowserDoc.h : interface of the CGaugeBrowserDoc class // // (c)1998-2025 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN // CONSENT OF CODEJOCK SOFTWARE. // // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A // SINGLE COMPUTER. // // CONTACT INFORMATION: // support@codejock.com // http://www.codejock.com // ///////////////////////////////////////////////////////////////////////////// #if !defined(__GAUGEBROWSERDOC_H__) # define __GAUGEBROWSERDOC_H__ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "GaugeRepo.h" class CGaugeBrowserDoc : public CDocument { protected: // create from serialization only CGaugeBrowserDoc(); DECLARE_DYNCREATE(CGaugeBrowserDoc) // Attributes public: // Operations const CGaugeRepo::RepoItem* GetRepoItem() const; public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CGaugeBrowserDoc) public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); virtual BOOL OnSaveDocument(LPCTSTR lpszPathName); //}}AFX_VIRTUAL // Implementation public: virtual ~CGaugeBrowserDoc(); # ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; # endif protected: // Generated message map functions protected: //{{AFX_MSG(CGaugeBrowserDoc) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CGaugeRepo::RepoItem* m_pRepoItem; }; AFX_INLINE const CGaugeRepo::RepoItem* CGaugeBrowserDoc::GetRepoItem() const { return m_pRepoItem; } ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(__GAUGEBROWSERDOC_H__)