Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrcfg / hourglass.h
blob2f89fd293cc0173cd5122098247e64ec149f6b03
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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
8 */
10 #include <windows.h>
12 typedef class HOURGLASS
14 protected:
15 HCURSOR m_OldCursor;
17 public:
18 HOURGLASS (LPCSTR idCursor = IDC_WAIT)
20 m_OldCursor = GetCursor();
21 SetCursor (LoadCursor (NULL, idCursor));
24 virtual ~HOURGLASS (void)
26 SetCursor (m_OldCursor);
29 } HOURGLASS, *PHOURGLASS;