2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <windows.h>
\r
12 typedef class HOURGLASS
\r
15 HCURSOR m_OldCursor;
\r
18 HOURGLASS (LPCSTR idCursor = IDC_WAIT)
\r
20 m_OldCursor = GetCursor();
\r
21 SetCursor (LoadCursor (NULL, idCursor));
\r
24 virtual ~HOURGLASS (void)
\r
26 SetCursor (m_OldCursor);
\r
29 } HOURGLASS, *PHOURGLASS;
\r