Allow to unset assume-valid and skip-worktree in GitStatusListCtrl
[TortoiseGit.git] / ext / ResizableLib / ResizableSheetState.h
blob9f61aed91f62827073500396e80afdc89f1fa8b6
1 /////////////////////////////////////////////////////////////////////////////
2 //
3 // This file is part of ResizableLib
4 // http://sourceforge.net/projects/resizablelib
5 //
6 // Copyright (C) 2000-2004 by Paolo Messina
7 // http://www.geocities.com/ppescher - mailto:ppescher@hotmail.com
8 //
9 // The contents of this file are subject to the Artistic License (the "License").
10 // You may not use this file except in compliance with the License.
11 // You may obtain a copy of the License at:
12 // http://www.opensource.org/licenses/artistic-license.html
14 // If you find this code useful, credits would be nice!
16 /////////////////////////////////////////////////////////////////////////////
18 /*!
19 * @file
20 * @brief Interface for the CResizableSheetState class.
23 #if !defined(AFX_RESIZABLESHEETSTATE_H__INCLUDED_)
24 #define AFX_RESIZABLESHEETSTATE_H__INCLUDED_
26 #if _MSC_VER > 1000
27 #pragma once
28 #endif // _MSC_VER > 1000
30 #include "ResizableWndState.h"
32 /*! @addtogroup CoreComponents
33 * @{
36 //! @brief Persists active page in property sheets or wizard dialogs
37 /*!
38 * Derive from this class when you want to persist the active page
39 * in property sheets or wizard dialogs.
40 * This class is used in the provided resizable counterparts of
41 * the standard MFC property sheet classes.
43 class CResizableSheetState : public CResizableWndState
45 protected:
47 //! @brief Load and set the active property page
48 BOOL LoadPage(LPCTSTR pszName);
50 //! @brief Save the current active property page
51 BOOL SavePage(LPCTSTR pszName);
53 //! @brief Override to provide the parent window
54 virtual CWnd* GetResizableWnd() const = 0;
56 public:
57 CResizableSheetState();
58 virtual ~CResizableSheetState();
61 // @}
62 #endif // !defined(AFX_RESIZABLESHEETSTATE_H__INCLUDED_)