webengine/osswebengine/WebKit/Plugins/WebNetscapeDeprecatedFunctions.c
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2  *  WebNetscapeDeprecatedFunctions.c
       
     3  *  WebKit
       
     4  *
       
     5  *  Created by Tim Omernick on 3/21/06.
       
     6  *  Copyright 2006 Apple Computer, Inc. All rights reserved.
       
     7  *
       
     8  */
       
     9 
       
    10 #include "WebNetscapeDeprecatedFunctions.h"
       
    11 
       
    12 #ifndef __LP64__
       
    13 
       
    14 OSErr WebGetDiskFragment(const FSSpec *fileSpec, UInt32 offset, UInt32 length, ConstStr63Param fragName, CFragLoadOptions options, CFragConnectionID *connID, Ptr *mainAddr, Str255 errMessage)
       
    15 {
       
    16     return GetDiskFragment(fileSpec, offset, length, fragName, options, connID, mainAddr, errMessage);
       
    17 }
       
    18 
       
    19 OSErr WebCloseConnection(CFragConnectionID *connID)
       
    20 {
       
    21     return CloseConnection(connID);
       
    22 }
       
    23 
       
    24 SInt16 WebLMGetCurApRefNum(void)
       
    25 {
       
    26     return LMGetCurApRefNum();
       
    27 }
       
    28 
       
    29 extern void WebLMSetCurApRefNum(SInt16 value)
       
    30 {
       
    31     LMSetCurApRefNum(value);
       
    32 }
       
    33 
       
    34 #endif /* !__LP64__ */