Subversion Repositories Kolibri OS

Rev

Rev 8184 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8184 Rev 8252
Line 6... Line 6...
6
// Kolibri interface.
6
// Kolibri interface.
Line 7... Line 7...
7
 
7
 
8
namespace Kolibri   // All kolibri functions, types and data are nested in the (Kolibri) namespace.
8
namespace Kolibri   // All kolibri functions, types and data are nested in the (Kolibri) namespace.
9
{
9
{
10
	const char *DebugPrefix = "User program: ";
10
	const char *DebugPrefix = "User program: ";
Line 11... Line 11...
11
	char CommandLine[257];
11
	char CommandLine[2048];
12
 
12
 
13
	struct TWindowData   // Data for drawing a window.
13
	struct TWindowData   // Data for drawing a window.
14
	{
14
	{
Line 508... Line 508...
508
		GetBorderHeader(dx, dy);
508
		GetBorderHeader(dx, dy);
509
		x -= dx; y -= dy;
509
		x -= dx; y -= dy;
510
	}
510
	}
511
}
511
}
Line 512... Line -...
512
 
-
 
513
#else   // def __KOLIBRI__
-
 
514
 
-
 
515
namespace Kolibri
-
 
516
{
-
 
517
	struct TMutex
-
 
518
	{
-
 
519
		unsigned int mut;
-
 
520
 
-
 
521
		TMutex();
-
 
522
		~TMutex();
-
 
523
	};
-
 
524
#undef  KOLIBRI_MUTEX_INIT
-
 
525
#define KOLIBRI_MUTEX_INIT  TMutex()
-
 
526
 
-
 
527
	struct TRecMutex
-
 
528
	{
-
 
529
		unsigned int mut;
-
 
530
 
-
 
531
		TRecMutex();
-
 
532
		~TRecMutex();
-
 
533
	};
-
 
534
#undef  KOLIBRI_REC_MUTEX_INIT
-
 
535
#define KOLIBRI_REC_MUTEX_INIT  TRecMutex()
-
 
536
}
-
 
537
 
512
 
Line 538... Line 513...
538
#endif  // else: def __KOLIBRI__
513
#endif  // else: def __KOLIBRI__