fbs/fontandbitmapserver/sfbs/fbsoogmmessage.h
changeset 187 9f66f99ee56f
equal deleted inserted replaced
103:2717213c588a 187:9f66f99ee56f
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 // Message class defining the action desired in response to a notification from
       
    16 // FBserv's Out-of-Graphics-Memory plug-in.
       
    17 //
       
    18 #ifndef FBSOOGMMESSAGE_H
       
    19 #define FBSOOGMMESSAGE_H
       
    20 
       
    21 
       
    22 class TFbsOogmMessage
       
    23     {
       
    24 public:
       
    25 
       
    26     enum TOogmAction
       
    27         {
       
    28         EFbsOogmNoAction = 0,
       
    29         EFbsOogmLowNotification,
       
    30         EFbsOogmOkayNotification
       
    31         };
       
    32 
       
    33 public:
       
    34     inline TFbsOogmMessage();
       
    35     inline TFbsOogmMessage( TOogmAction aOogmAction, TInt aBytesToFree, TInt aFlags );
       
    36 
       
    37 public:
       
    38     TOogmAction iOogmNotification;
       
    39     TInt iBytesToFree;
       
    40     TInt iFlags;
       
    41     };
       
    42 
       
    43 
       
    44 #include <graphics/fbsoogmmessage.inl>
       
    45 #endif // FBSOOGMMESSAGE_H