// {{{RME component 'Component View::SolicitarPacotesComponent'

#if defined( PRAGMA ) && ! defined( PRAGMA_IMPLEMENTED )
#pragma implementation "RTSystem/SolicitarPacotesComponent.h"
#endif

#include <RTSystem/SolicitarPacotesComponent.h>
extern const RTObject_class RTType_Navegacao;
extern const RTActorClass SolicitaPacote;

static const RTObject_class * const rtg_user_types[] =
{
	// {{{RME classifier 'Logical View::Navegacao' tool 'OT::CppTargetRTS' property 'GenerateDescriptor'
	&RTType_Navegacao
	// }}}RME
};

#ifndef RTDEFAULT_ARGV
#define RTDEFAULT_ARGV { "SolicitaPacote" }
#undef RTDEFAULT_ARGC
#define RTDEFAULT_ARGC 1
#endif

const char * default_argv[] = RTDEFAULT_ARGV;

int default_argc = RTDEFAULT_ARGC;

#if USE_THREADS

void _rtg_createThreads( RTDebugger * debugger )
{
}

void _rtg_mapLogicalThreads( RTController * controller )
{
}

void _rtg_deleteThreads( void )
{
}
#else

void _rtg_mapLogicalThreads( RTController * controller )
{
}
#endif

static const RTSystemDescriptor _rtg_system =
{
	RTDEFAULT_ARGC
  , default_argv
  , &SolicitaPacote
  , 1
  , rtg_user_types
#if USE_THREADS
  , DEFAULT_MAIN_PRIORITY
  , 20000
  , DEFAULT_TIMER_PRIORITY
  , 20000
  , _rtg_createThreads
  , _rtg_deleteThreads
#endif
  , _rtg_mapLogicalThreads
};

int RTMain::entryPoint( int argc, const char * const * argv )
{
	return execute( &_rtg_system, argc, argv );
}

// }}}RME
