uigraphics/AknIcon/srvsrc/AknIconSrvDebug.cpp
changeset 2 abcbdabaa4c5
parent 0 05e9090e2422
equal deleted inserted replaced
1:ba33815114d6 2:abcbdabaa4c5
    56 // __SERVER_HEAP_FAILNEXT
    56 // __SERVER_HEAP_FAILNEXT
    57 // -----------------------------------------------------------------------------
    57 // -----------------------------------------------------------------------------
    58 //
    58 //
    59 EXPORT_C GLDEF_C void __SERVER_HEAP_FAILNEXT( TInt aCount )
    59 EXPORT_C GLDEF_C void __SERVER_HEAP_FAILNEXT( TInt aCount )
    60     {
    60     {
       
    61 	// Notice: this code is used to avoid the building warning!
       
    62     aCount = aCount;
    61 #if defined(_DEBUG) && defined(__WINS__)
    63 #if defined(_DEBUG) && defined(__WINS__)
    62     RAknIconSrvClient* client = RAknIconSrvClient::GetSession();
    64     RAknIconSrvClient* client = RAknIconSrvClient::GetSession();
    63     client->__SERVER_HEAP_FAILNEXT( aCount );
    65     client->__SERVER_HEAP_FAILNEXT( aCount );
    64 #endif
    66 #endif
    65     }
    67     }
    68 // __SERVER_HEAP_FAILNEXT_INCREASING
    70 // __SERVER_HEAP_FAILNEXT_INCREASING
    69 // -----------------------------------------------------------------------------
    71 // -----------------------------------------------------------------------------
    70 //
    72 //
    71 EXPORT_C GLDEF_C void __SERVER_HEAP_FAILNEXT_INCREASING( TInt aCount )
    73 EXPORT_C GLDEF_C void __SERVER_HEAP_FAILNEXT_INCREASING( TInt aCount )
    72     {
    74     {
       
    75 	// Notice: this code is used to avoid the building warning!
       
    76     aCount = aCount;
    73 #if defined(_DEBUG) && defined(__WINS__)
    77 #if defined(_DEBUG) && defined(__WINS__)
    74     RAknIconSrvClient* client = RAknIconSrvClient::GetSession();
    78     RAknIconSrvClient* client = RAknIconSrvClient::GetSession();
    75     client->__SERVER_HEAP_FAILNEXT_INCREASING( aCount );
    79     client->__SERVER_HEAP_FAILNEXT_INCREASING( aCount );
    76 #endif
    80 #endif
    77     }
    81     }
   121 // -----------------------------------------------------------------------------
   125 // -----------------------------------------------------------------------------
   122 //        
   126 //        
   123 EXPORT_C GLREF_C void __SERVER_SET_PREFERRED_ICON_DISPLAY_MODE(
   127 EXPORT_C GLREF_C void __SERVER_SET_PREFERRED_ICON_DISPLAY_MODE(
   124     TDisplayMode aMode )
   128     TDisplayMode aMode )
   125     {
   129     {
       
   130 	// Notice: this code is used to avoid the building warning!
       
   131     aMode = aMode;
   126 #if defined(_DEBUG)
   132 #if defined(_DEBUG)
   127 
   133 
   128     // New display mode won't affect already connected clients,
   134     // New display mode won't affect already connected clients,
   129     // except this client.
   135     // except this client.
   130 
   136