Ignore:
Timestamp:
Aug 9, 2006, 3:45:40 PM (15 years ago)
Author:
Eugene Romanenko
Message:

more comments, new method isFixedImage(), fixed keyboard selection of printer in printer dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/ludoc/ludoc.xih

    r92 r95  
    3232#endif
    3333
    34 #define LuDocument_MaxNoMethods 32
     34#define LuDocument_MaxNoMethods 33
    3535
    3636/*
     
    9292  #define _getBpp somSelf->getBpp
    9393  #define _isScalable somSelf->isScalable
     94  #define _isFixedImage somSelf->isFixedImage
    9495  #define _isRotable somSelf->isRotable
    9596  #define _getPageCount somSelf->getPageCount
     
    197198
    198199/*
     200 * New Method: isFixedImage
     201 */
     202SOM_Scope boolean  SOMLINK isFixedImage(LuDocument *somSelf, Environment *ev);
     203#ifndef somMN_isFixedImage_defined
     204#define somMN_isFixedImage_defined
     205static char *somMN_isFixedImage = "isFixedImage";
     206static somId somId_isFixedImage = &somMN_isFixedImage;
     207#endif  /* somMN_isFixedImage_defined */
     208#ifndef somDS_isFixedImage_defined
     209#define somDS_isFixedImage_defined
     210static char *somDS_isFixedImage = "::LuDocument::isFixedImage";
     211static somId somDI_isFixedImage = &somDS_isFixedImage;
     212#endif  /* somDS_isFixedImage_defined */
     213
     214static somMethodInfo isFixedImageMethodInfo = {10, 8, 0};
     215
     216static somApRdInfo isFixedImageStubs = {0, 0, &isFixedImageMethodInfo};
     217
     218/*
    199219 * New Method: isRotable
    200220 */
     
    785805         (somMethodProc *) ((void*) &isScalableStubs) },
    786806#endif
     807    {    &LuDocumentClassData.isFixedImage,
     808         &somId_isFixedImage,
     809         &somDI_isFixedImage,
     810         (somMethodProc *) isFixedImage,
     811         (somMethodProc *)((void*)-1),
     812#ifdef isFixedImage_somApRdDefault
     813         0},
     814#else
     815         (somMethodProc *) ((void*) &isFixedImageStubs) },
     816#endif
    787817    {    &LuDocumentClassData.isRotable,
    788818         &somId_isRotable,
     
    10681098
    10691099static somStaticClassInfo LuDocumentSCI = {
    1070     4, 28, 1, 0, 4, 0, /* layout version 4 */
     1100    4, 29, 1, 0, 4, 0, /* layout version 4 */
    10711101    LuDocument_MajorVersion, LuDocument_MinorVersion,
    10721102    0, LuDocument_MaxNoMethods, 1,
     
    10911121    0, /* number of SelectInheritedMethods */
    10921122    0, /* no SelectInheritedMethods */
    1093     32, /* number of classdata entries */
     1123    33, /* number of classdata entries */
    10941124    0, /* no list provided currently */
    10951125    0, /* number of migrated methods */
Note: See TracChangeset for help on using the changeset viewer.