00001 #ifndef __LgiLinux_h 00002 #define __LgiLinux_h 00003 00004 #include <stdio.h> 00005 #include "GMem.h" 00006 #include "GToken.h" 00007 #include "GRect.h" 00008 00009 extern "C" uint64 LgiCurrentTime(); 00010 extern bool _GetKdePaths(GToken &t, char *Type); 00011 extern bool _GetIniField(char *Grp, char *Field, char *In, char *Out, int OutSize); 00012 extern bool _GetSystemFont(char *FontType, char *Font, int FontBufSize, int &PointSize); 00013 00014 class OsPoint 00015 { 00016 public: 00017 int x, y; 00018 00019 OsPoint() 00020 { 00021 x = y = 0; 00022 } 00023 00024 OsPoint(int X, int Y) 00025 { 00026 x = X; 00027 y = Y; 00028 } 00029 00030 void set(int sx, int sy) { x = sx; y = sy; } 00031 }; 00032 00033 #endif