mmserv/sts/stsserver/src/stsserverexe.cpp
changeset 47 c2e43643db4c
parent 16 43d09473c595
equal deleted inserted replaced
42:1fa3fb47b1e3 47:c2e43643db4c
    13  *
    13  *
    14  * Description:
    14  * Description:
    15  * The file containt the main method of the STS Server.
    15  * The file containt the main method of the STS Server.
    16  */
    16  */
    17 
    17 
       
    18 //  Include Files  
    18 #include <ecom/ecom.h>
    19 #include <ecom/ecom.h>
    19 #include "stsserver.h"
    20 #include "stsserver.h"
    20 
    21 
    21 TInt E32Main()
    22 TInt E32Main()
    22     {
    23     {
    24     TInt returnValue = KErrNoMemory;
    25     TInt returnValue = KErrNoMemory;
    25 
    26 
    26     RThread myThread;
    27     RThread myThread;
    27     myThread.SetPriority(EPriorityAbsoluteRealTime1);
    28     myThread.SetPriority(EPriorityAbsoluteRealTime1);
    28     myThread.Close();
    29     myThread.Close();
    29     
    30 
    30     CTrapCleanup* cleanup = CTrapCleanup::New();
    31     CTrapCleanup* cleanup = CTrapCleanup::New();
    31 
    32 
    32     if (cleanup)
    33     if (cleanup)
    33         {
    34         {
    34         // Run the server and request a process rendezvous.
    35         // Run the server and request a process rendezvous.