/// \file
/// \author Matthew Allen

#ifndef __OS_CLASS_H
#define __OS_CLASS_H

class LgiClass OsApplication
{
	int Args;
	const char **Arg;
	
public:
	OsApplication(int i, const char **a)
	{
		Args = i;
		Arg = a;
	}
	
	int GetArgs() { return Args; }
	const char **GetArg() { return Arg; }
};

extern OsView DefaultOsView(class LView *v);

#ifdef __OBJC__

class LAutoPool
{
	NSAutoreleasePool * pool;
	
public:
	LAutoPool()
	{
		pool = [[NSAutoreleasePool alloc] init];
	}
	
	~LAutoPool()
	{
		[pool release];
	}
};

#endif


#endif
