1/* 2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * The contents of this file constitute Original Code as defined in and 7 * are subject to the Apple Public Source License Version 1.1 (the 8 * "License"). You may not use this file except in compliance with the 9 * License. Please obtain a copy of the License at 10 * http://www.apple.com/publicsource and read it before using this file. 11 * 12 * This Original Code and all software distributed under the License are 13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 * License for the specific language governing rights and limitations 18 * under the License. 19 * 20 * @APPLE_LICENSE_HEADER_END@ 21 */ 22/* 23 * IOFireWireLibPriv.cpp 24 * IOFireWireLib 25 * 26 * Created on Fri Apr 28 2000. 27 * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. 28 * 29 */ 30/* 31 $Log: IOFireWireLibPriv.cpp,v $ 32 Revision 1.42 2003/07/21 06:53:11 niels 33 merge isoch to TOT 34 35 Revision 1.41.6.2 2003/07/21 06:44:48 niels 36 *** empty log message *** 37 38 Revision 1.41.6.1 2003/07/01 20:54:24 niels 39 isoch merge 40 41 Revision 1.41 2003/02/19 22:33:21 niels 42 add skip cycle DCL 43 44 Revision 1.40 2003/01/09 22:58:12 niels 45 radar 3061582: change kCFRunLoopDefaultMode to kCFRunLoopCommonModes 46 47 Revision 1.39 2002/12/12 22:44:03 niels 48 fixed radar 3126316: panic with Hamamatsu driver 49 50 Revision 1.38 2002/10/18 23:29:49 collin 51 fix includes, fix cast which fails on new compiler 52 53 Revision 1.37 2002/10/11 23:12:22 collin 54 fix broken headerdoc, fix compiler warnings 55 56 Revision 1.36 2002/09/25 00:27:34 niels 57 flip your world upside-down 58 59 Revision 1.35 2002/09/12 22:41:56 niels 60 add GetIRMNodeID() to user client 61 62*/ 63 64// private 65#import "IOFireWireLibPriv.h" 66#import "IOFireWireLibIOCFPlugIn.h" 67 68// ============================================================ 69// factory function implementor 70// ============================================================ 71 72extern "C" void* 73IOFireWireLibFactory( CFAllocatorRef allocator, CFUUIDRef typeID ) 74{ 75 DebugLog( "IOFireWireLib debug build, built on " __DATE__ " " __TIME__ "\n" ) ; 76 77 void* result = nil; 78 79 if ( CFEqual( typeID, kIOFireWireLibTypeID ) ) 80 result = (void*) IOFireWireLib::IOCFPlugIn::Alloc() ; 81 82 return (void*) result ; 83} 84 85