Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

udefs.hpp

00001 /* ==================================================== ======== ======= *
00002  *
00003  *  udefs.hpp
00004  *  Ubit Project [Elc][2003]
00005  *  Author: Eric Lecolinet
00006  *
00007  *  Part of the Ubit Toolkit: A Brick Construction Game Model for Creating GUIs
00008  *
00009  *  (C) 1999-2003 Eric Lecolinet @ ENST Paris
00010  *  WWW: http://www.enst.fr/~elc/ubit   Email: elc@enst.fr (subject: ubit)
00011  *
00012  * ***********************************************************************
00013  * COPYRIGHT NOTICE : 
00014  * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY AND WITHOUT EVEN THE 
00015  * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 
00016  * YOU CAN REDISTRIBUTE IT AND/OR MODIFY IT UNDER THE TERMS OF THE GNU 
00017  * GENERAL PUBLIC LICENSE AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION; 
00018  * EITHER VERSION 2 OF THE LICENSE, OR (AT YOUR OPTION) ANY LATER VERSION.
00019  * SEE FILES 'COPYRIGHT' AND 'COPYING' FOR MORE DETAILS.
00020  * ***********************************************************************
00021  *
00022  * ==================================================== [Elc:03] ======= *
00023  * ==================================================== ======== ======= */
00024 
00025 #ifndef _udefs_hpp_
00026 #define _udefs_hpp_
00027 
00028 #include <string>
00029 #include <vector>
00030 #include <list>
00031 
00032 #define null  0
00033 typedef signed int    u_pos;    // !!must be signed!!
00034 typedef signed int    u_dim;    // !!must be signed!!
00035 typedef unsigned int  u_count;  // !unsigned!
00036 typedef unsigned long u_id;     // !unsigned!
00037 typedef unsigned long u_time;   // !unsigned!
00038 typedef unsigned long u_modes;  // !!must be coherent with umode.hh!!
00039 typedef signed char   u_state;  // !!must be coherent with umode.hh!!
00040 
00041 
00044 struct UFilestat {
00045   enum {
00046     UnknownType   = -5,
00047     MiscError     = -4,
00048     NoMemory      = -3,
00049     InvalidData   = -2,
00050     CannotOpen    = -1,
00051     NotOpened     =  0,
00052     Opened        =  1
00053   };
00054 };
00055 
00056 // pre defs.
00057 class UBrick;
00058 class UIntgBase;
00059 class UFloatBase;
00060 class UIntg;
00061 class UFloat;
00062 
00063 class UProp;
00064 class UScale;
00065 class UColor;
00066 class UBgcolor;
00067 class UFont;
00068 class UFontDesc;
00069 class UBorder;
00070 class UCursor;
00071 
00072 class UElem;
00073 class UStr;
00074 class UPix;
00075 class UIma;
00076 
00077 class UCond;
00078 class UOn;
00079 class UFlag;
00080 
00081 class UMode;
00082 class UGroup;
00083 class UBox;
00084 class UWin;
00085 class UArgs;
00086 class UView;
00087 
00088 class UDisp;
00089 class UAppli;
00090 class UInput;
00091 class UTimer;
00092 
00093 struct URegion;
00094 struct UMargins;
00095 class UEvent;
00096 class UGraph;
00097 class UWinGraph;
00098 class ULink;
00099 class UContext;
00100 class UStyle;
00101 class UContext;
00102 
00103 /* ==================================================== [TheEnd] ======= */
00104 /* ==================================================== [Elc:03] ======= */
00105 #endif

Generated on Thu Mar 3 06:29:04 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.1