death to trailing whitespace
[openafs.git] / src / WINNT / afsusrmgr / display.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
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  */
9
10 #ifndef DISPLAY_H
11 #define DISPLAY_H
12
13
14 /*
15  * DEFINITIONS ________________________________________________________________
16  *
17  */
18
19 typedef enum
20    {
21    ttUSERS,
22    ttGROUPS,
23    ttMACHINES
24    } TABTYPE;
25
26
27 /*
28  * PROTOTYPES _________________________________________________________________
29  *
30  */
31
32 void Display_StartWorking (void);
33 void Display_StopWorking (void);
34
35 void Display_PopulateList (void);
36 void Display_PopulateUserList (void);
37 void Display_PopulateGroupList (void);
38 void Display_PopulateMachineList (void);
39
40 void Display_OnEndTask_UpdUsers (LPTASKPACKET ptp);
41 void Display_OnEndTask_UpdGroups (LPTASKPACKET ptp);
42 void Display_OnEndTask_UpdMachines (LPTASKPACKET ptp);
43
44 void Display_RefreshView (LPVIEWINFO lpviNew, ICONVIEW ivNew);
45 void Display_RefreshView_Fast (void);
46
47 void Display_SelectAll (void);
48 LPASIDLIST Display_GetSelectedList (void);
49 size_t Display_GetSelectedCount (void);
50 TABTYPE Display_GetActiveTab (void);
51
52 BOOL Display_HandleColumnNotify (HWND hDlg, UINT msg, WPARAM wp, LPARAM lp, LPVIEWINFO pvi);
53 BOOL CALLBACK Display_GetItemText (HWND hList, LPFLN_GETITEMTEXT_PARAMS pfln, UINT_PTR dwCookie);
54 void Display_GetImageIcons (DWORD dwStyle, ICONVIEW iv, ASID idObject, int iImageNormal, int iImageAlert, int *piFirstImage, int *piSecondImage);
55
56
57 #endif
58