splashscreen_config.h revision 10444:f08705540498
1/* 2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26/* platform-dependent definitions */ 27 28#ifndef SPLASHSCREEN_CONFIG_H 29#define SPLASHSCREEN_CONFIG_H 30 31#include <sys/types.h> 32#include <sys/unistd.h> 33#include <signal.h> 34#include <inttypes.h> 35#include <stdlib.h> 36#include <string.h> 37#include <stdio.h> 38#include <pthread.h> 39#include <Cocoa/Cocoa.h> 40 41typedef uint32_t rgbquad_t; 42typedef uint16_t word_t; 43typedef uint8_t byte_t; 44 45 46// Actually the following Rect machinery is unused since we don't use shapes 47typedef int RECT_T; 48 49#define RECT_EQ_X(r1,r2) ((r1) == (r2)) 50#define RECT_SET(r,xx,yy,ww,hh) ; 51#define RECT_INC_HEIGHT(r) ; 52 53#define SPLASHCTL_QUIT 'Q' 54#define SPLASHCTL_UPDATE 'U' 55#define SPLASHCTL_RECONFIGURE 'R' 56 57#define INLINE static 58 59#define SPLASHEXPORT 60 61#endif 62