135c4bbdfSmrg/* 235c4bbdfSmrg * File: winmultiwindowicons.h 335c4bbdfSmrg * Purpose: interface for multiwindow mode icon functions 435c4bbdfSmrg * 535c4bbdfSmrg * Copyright (c) Jon TURNEY 2012 635c4bbdfSmrg * 735c4bbdfSmrg * 835c4bbdfSmrg * Permission is hereby granted, free of charge, to any person obtaining a 935c4bbdfSmrg * copy of this software and associated documentation files (the "Software"), 1035c4bbdfSmrg * to deal in the Software without restriction, including without limitation 1135c4bbdfSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1235c4bbdfSmrg * and/or sell copies of the Software, and to permit persons to whom the 1335c4bbdfSmrg * Software is furnished to do so, subject to the following conditions: 1435c4bbdfSmrg * 1535c4bbdfSmrg * The above copyright notice and this permission notice shall be included in 1635c4bbdfSmrg * all copies or substantial portions of the Software. 1735c4bbdfSmrg * 1835c4bbdfSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1935c4bbdfSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2035c4bbdfSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 2135c4bbdfSmrg * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 2235c4bbdfSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 2335c4bbdfSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2435c4bbdfSmrg * DEALINGS IN THE SOFTWARE. 2535c4bbdfSmrg */ 2635c4bbdfSmrg 2735c4bbdfSmrg#ifndef WINMULTIWINDOWICONS_H 2835c4bbdfSmrg#define WINMULTIWINDOWICONS_H 2935c4bbdfSmrg 301b5d61b8Smrg#include <xcb/xcb.h> 311b5d61b8Smrg 3235c4bbdfSmrgvoid 33ed6184dfSmrg winUpdateIcon(HWND hWnd, xcb_connection_t *conn, xcb_window_t id, HICON hIconNew); 3435c4bbdfSmrg 3535c4bbdfSmrgvoid 3635c4bbdfSmrg winInitGlobalIcons(void); 3735c4bbdfSmrg 3835c4bbdfSmrgvoid 3935c4bbdfSmrg winDestroyIcon(HICON hIcon); 4035c4bbdfSmrg 4135c4bbdfSmrgvoid 4235c4bbdfSmrg winSelectIcons(HICON * pIcon, HICON * pSmallIcon); 4335c4bbdfSmrg 4435c4bbdfSmrg#endif /* WINMULTIWINDOWICONS_H */ 45