-
Notifications
You must be signed in to change notification settings - Fork 0
/
desktop.h
55 lines (44 loc) · 1.92 KB
/
desktop.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
///
/// @file desktop.h @brief desktop management header file
///
/// Copyright (c) 2009 by Lutz Sammer. All Rights Reserved.
///
/// Contributor(s):
///
/// License: AGPLv3
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Affero General Public License as
/// published by the Free Software Foundation, either version 3 of the
/// License.
///
/// This program is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Affero General Public License for more details.
///
/// $Id$
//////////////////////////////////////////////////////////////////////////////
/// @addtogroup desktop
/// @{
//////////////////////////////////////////////////////////////////////////////
// Variables
//////////////////////////////////////////////////////////////////////////////
extern int DesktopN; ///< number of desktops
extern int DesktopCurrent; ///< current desktop
//////////////////////////////////////////////////////////////////////////////
// Prototypes
//////////////////////////////////////////////////////////////////////////////
extern void DesktopChange(int); ///< Change to the specified desktop.
extern void DesktopNext(void); ///< Change to the next desktop.
extern void DesktopPrevious(void); ///< Change to the previous desktop.
extern const char *DesktopGetName(int); ///< Get the name of a desktop.
/// Create a desktop menu.
extern Menu *DesktopCreateMenu(unsigned);
extern void DesktopToggleShow(void); ///< Toggle the "show desktop" state.
extern void DesktopToggleShade(void); ///< Toggle the "shade desktop" state.
extern void DesktopInit(void); ///< Initialize desktop support.
extern void DesktopExit(void); ///< Cleanup desktop support.
/// Parse configuration for desktop module.
extern void DesktopConfig(const Config *);
/// @}