~ubuntu-branches/ubuntu/wily/mupen64plus/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/correct_security_printf.patch/glide64/messagebox.h

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2011-02-06 11:57:54 UTC
  • mfrom: (10.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110206115754-t3abbdfr1q3brszp
Tags: 1.5+dfsg1-15
* Upload to unstable
* Updated my maintainer e-mail address
* debian/patches:
  - Add inline_header.patch, Move inline list_empty to header to make it
    inlineable
* Keep dependencies on separate lines in debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          messagebox.h  -  description
 
3
                             -------------------
 
4
    begin                : Tue Nov 12 2002
 
5
    copyright            : (C) 2002 by blight
 
6
    email                : blight@Ashitaka
 
7
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU General Public License as published by  *
 
13
 *   the Free Software Foundation; either version 2 of the License, or     *
 
14
 *   (at your option) any later version.                                   *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
 
 
18
#ifndef __MESSAGEBOX_H__
 
19
#define __MESSAGEBOX_H__
 
20
 
 
21
/** flags **/
 
22
// The message box contains three push buttons: Abort, Retry, and Ignore.
 
23
#define MB_ABORTRETRYIGNORE     (0x00000001)
 
24
// Microsoft� Windows� 2000/XP: The message box contains three push buttons: Cancel, Try Again, Continue. Use this message box type instead of MB_ABORTRETRYIGNORE.
 
25
#define MB_CANCELTRYCONTINUE        (0x00000002)
 
26
// The message box contains one push button: OK. This is the default.
 
27
#define MB_OK               (0x00000004)
 
28
// The message box contains two push buttons: OK and Cancel.
 
29
#define MB_OKCANCEL         (0x00000008)
 
30
// The message box contains two push buttons: Retry and Cancel.
 
31
#define MB_RETRYCANCEL          (0x00000010)
 
32
// The message box contains two push buttons: Yes and No.
 
33
#define MB_YESNO            (0x00000020)
 
34
// The message box contains three push buttons: Yes, No, and Cancel.
 
35
#define MB_YESNOCANCEL          (0x00000040)
 
36
 
 
37
// An exclamation-point icon appears in the message box.
 
38
#define MB_ICONEXCLAMATION      (0x00000100)
 
39
#define MB_ICONWARNING          (0x00000100)
 
40
// An icon consisting of a lowercase letter i in a circle appears in the message box.
 
41
#define MB_ICONINFORMATION      (0x00000200)
 
42
#define MB_ICONASTERISK         (0x00000200)
 
43
// A question-mark icon appears in the message box.
 
44
#define MB_ICONQUESTION         (0x00000400)
 
45
// A stop-sign icon appears in the message box.
 
46
#define MB_ICONSTOP         (0x00000800)
 
47
#define MB_ICONERROR        (0x00000800)
 
48
#define MB_ICONHAND         (0x00000800)
 
49
 
 
50
#ifdef __cplusplus
 
51
extern "C"
 
52
{
 
53
#endif
 
54
   // returns 1 if the first button was clicked, 2 for the second and 3 for the third
 
55
   int messagebox( const char *title, int flags, const char *fmt, ... );
 
56
#ifdef __cplusplus
 
57
}
 
58
#endif
 
59
 
 
60
#endif  // __MESSAGEBOX_H__
 
61