1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/graphics/fbs/fontandbitmapserver/inc/FbsMessage.H Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,101 @@
1.4 +// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +#ifndef __FBSMESSAGE_H__
1.20 +#define __FBSMESSAGE_H__
1.21 +
1.22 +/**
1.23 +@internalComponent
1.24 +*/
1.25 +enum TFbsMessage
1.26 + {
1.27 + EFbsMessInit,
1.28 + EFbsMessShutdown,
1.29 + EFbsMessClose,
1.30 + EFbsMessResourceCount,
1.31 + EFbsMessNumTypefaces,
1.32 + EFbsMessTypefaceSupport,
1.33 + EFbsMessFontHeightInTwips,
1.34 + EFbsMessFontHeightInPixels,
1.35 + EFbsMessAddFontStoreFile,
1.36 + EFbsMessInstallFontStoreFile,
1.37 + EFbsMessRemoveFontStoreFile,
1.38 + EFbsMessSetPixelHeight,
1.39 + EFbsMessGetFontById,
1.40 + EFbsMessFontDuplicate,
1.41 + EFbsMessBitmapCreate,
1.42 + EFbsMessBitmapResize,
1.43 + EFbsMessBitmapDuplicate,
1.44 + EFbsMessBitmapLoad,
1.45 + EFbsMessDefaultAllocFail,
1.46 + EFbsMessDefaultMark,
1.47 + EFbsMessDefaultMarkEnd,
1.48 + EFbsMessUserAllocFail,
1.49 + EFbsMessUserMark,
1.50 + EFbsMessUserMarkEnd,
1.51 + EFbsMessHeapCheck,
1.52 + EFbsMessRasterize,
1.53 + EFbsMessFaceAttrib,
1.54 + EFbsMessHasCharacter,
1.55 + EFbsMessSetDefaultGlyphBitmapType,
1.56 + EFbsMessGetDefaultGlyphBitmapType,
1.57 + EFbsMessFontNameAlias,
1.58 + EFbsMessBitmapCompress,
1.59 + EFbsMessGetHeapSizes,
1.60 + EFbsMessGetNearestFontToDesignHeightInTwips,
1.61 + EFbsMessGetNearestFontToMaxHeightInTwips,
1.62 + EFbsMessGetNearestFontToDesignHeightInPixels,
1.63 + EFbsMessGetNearestFontToMaxHeightInPixels,
1.64 + EFbsMessShapeText,
1.65 + EFbsMessShapeDelete,
1.66 + EFbsMessDefaultLanguageForMetrics,
1.67 + EFbsMessSetTwipsHeight,
1.68 + EFbsMessGetTwipsHeight,
1.69 + EFbsCompress,
1.70 + EFbsMessBitmapBgCompress,
1.71 + EFbsUnused1,
1.72 + EFbsSetSystemDefaultTypefaceName,
1.73 + EFbsGetAllBitmapHandles,
1.74 + EFbsMessUnused1, //Implementation removed
1.75 + EFbsMessSetHeapFail, //for memory testing only
1.76 + EFbsMessHeapCount, //for memory testing only
1.77 + EFbsMessSetHeapReset, //for memory testing only
1.78 + EFbsMessSetHeapCheck, //for memory testing only
1.79 + EFbsMessHeap, //for memory testing only
1.80 + EFbsMessUnused2, //Implementation removed
1.81 + EFbsMessBitmapClean, // replace a dirty bitmap with the clean one
1.82 + EFbsMessBitmapLoadFast, // for loading bitmap from mbm or rsc file not opened by the client
1.83 + EFbsMessBitmapNotifyDirty, // notify when any bitmap becomes dirty
1.84 + EFbsMessBitmapCancelNotifyDirty, // cancel request for notification of any bitmap becoming dirty
1.85 + EFbsMessRegisterLinkedTypeface, //Register linked typeface specification with rasterizer (PREQ2146)
1.86 + EFbsMessFetchLinkedTypeface, //Retrieve linked typeface specification from rasterizer (PREQ2146)
1.87 + EFbsMessSetDuplicateFail, //Test Only - cause font duplicate to fail, or reset this
1.88 + EFbsMessUpdateLinkedTypeface, //Update an existing linked typeface specification with rasterizer; file valid after reboot
1.89 + EFbsMessGetFontTable,
1.90 + EFbsMessReleaseFontTable,
1.91 + EFbsMessGetGlyphOutline,
1.92 + EFbsMessReleaseGlyphOutline,
1.93 + EFbsMessGetGlyphs, // Retrieve rasterised glyphs from glyph atlas and closes last glyph retrieved
1.94 + EFbsMessNoOp, // No-op call; used to ensure that the RSgImage of the last glyph retrieved from glyph atlas has been closed
1.95 + EFbsMessGetGlyphMetrics, // Retrieve metrics of multiple glyph codes in one message
1.96 + EFbsMessAtlasFontCount, // (Debug-only) Retrieve the number of fonts with glyphs in the H/W Glyph cache
1.97 + EFbsMessAtlasGlyphCount, // (Debug-only) Retrieve the number of glyphs (optionally, given a specific font) stored in the H/W Glyph cache
1.98 + EFbsMessOogmNotification, // An action requested by the GOoM framework. Reduce or re-instate graphics memory usage.
1.99 + EFbsMessGetGlyphCacheMetrics, // Retrieve the glyph-cache size, its maximum limit and whether the maximum is the reduced value used in OoGm situations.
1.100 + // If you are adding new messages don't forget to check that the
1.101 + // security permissions are set correctly (KRanges & KElementsIndex in server.cpp)
1.102 + };
1.103 +
1.104 +#endif // __FBSMESSAGE_H__