Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-osx / trunk / launcher / rootless.h
1 /*
2  * External interface to generic rootless mode
3  *
4  * Greg Parker     gparker@cs.stanford.edu     March 3, 2001
5  */
6
7 /* Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
8
9    Permission is hereby granted, free of charge, to any person
10    obtaining a copy of this software and associated documentation files
11    (the "Software"), to deal in the Software without restriction,
12    including without limitation the rights to use, copy, modify, merge,
13    publish, distribute, sublicense, and/or sell copies of the Software,
14    and to permit persons to whom the Software is furnished to do so,
15    subject to the following conditions:
16
17    The above copyright notice and this permission notice shall be
18    included in all copies or substantial portions of the Software.
19
20    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23    NONINFRINGEMENT.  IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT
24    HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27    DEALINGS IN THE SOFTWARE.
28
29    Except as contained in this notice, the name(s) of the above
30    copyright holders shall not be used in advertising or otherwise to
31    promote the sale, use or other dealings in this Software without
32    prior written authorization. */
33
34 /* $XFree86: xc/programs/Xserver/hw/darwin/quartz/rootless.h,v 1.2 2002/08/28 06:41:26 torrey Exp $ */
35
36 #ifndef _ROOTLESS_H
37 #define _ROOTLESS_H
38
39 #include "mi.h"
40 #include "gcstruct.h"
41
42 #include "Xplugin.h"
43
44 /* Initialize rootless mode on the given screen. */
45 extern Bool RootlessSetupScreen(int index, ScreenPtr pScreen);
46
47 extern void RootlessUpdateScreenPixmap (ScreenPtr pScreen);
48
49 extern xp_window_id RootlessGetPhysicalWindow (WindowPtr pWin, Bool create);
50 extern WindowPtr RootlessGetXWindow (xp_window_id wid);
51
52 extern int RootlessKnowsWindowNumber (int number);
53
54 extern void RootlessDisableUpdate (WindowPtr pWin);
55 extern void RootlessReenableUpdate (WindowPtr pWin);
56
57 extern void RootlessUpdateRooted (Bool state);
58 extern void RootlessHideAllWindows (void);
59 extern void RootlessShowAllWindows (void);
60
61 #endif /* _ROOTLESS_H */