1 # Copyright (C) 2009-2010 IBM Corporation and Others. All Rights Reserved. 2 # 3 # This is a sample ICU Plugins control file for Windows. 4 # It's also an example control file for any platform. 5 # 6 # This file can be copied to, for example, C:\SOMEDIRECTORY\icuplugins##.txt 7 # where ## is the major and minor ICU versions (i.e. just 96 for version 9.6.3) 8 # and C:\SOMEDIRECTORY is any directory. 9 # 10 # Then, set the variable ICU_PLUGINS to C:\SOMEDIRECTORY 11 # 12 # Then, ICU will load the test plugin from either the debug or non-debug 13 # plugin DLL (depending on whether ICU is in debug or non-debug state). 14 # 15 # To see the results, run the command "icuinfo -v -L" 16 # 17 # The format of this file is pretty simple. 18 # These lines are comments. 19 # 20 # Non-comment lines have two or three elements in them, and look like this: 21 # 22 # LIBRARYNAME ENTRYPOINT [ CONFIGURATION .. ] 23 # 24 # Tabs or spaces separate the three items. 25 # 26 # LIBRARYNAME is the name of a shared library, either a short name if it is on the PATH, 27 # or a full pathname. 28 # 29 # ENTRYPOINT is the short (undecorated) symbol name of the plugin's entrypoint. 30 # see unicode/icuplug.h for information. 31 # 32 # CONFIGURATION is the entire rest of the line. It's passed as-is to the plugin. 33 # 34 # 35 # This sample file tries to load 'myPlugin'. 36 # It is in the testplug project. (You will need to rebuild either the debug or release version of this DLL.) 37 # The configuration string isn't used, but is just an example 38 39 ## A high level test plugin that does nothing. 40 testplug.dll myPlugin hello=world 41 42 ## A "bad" plugin that is low level but performs a malloc. 43 ## Sometimes this is desired, but, note that it may cause 44 ## later plugins to fail to load. 45 #testplug.dll myPluginBad hello=world 46 47 ## A "high-level" plugin that does nothing. 48 ## It will be loaded after the low level plugins. 49 #testplug.dll myPluginHigh 50 51 ## A "low-level" plugin that does nothing. 52 ## It will be loaded before the high level plugins. 53 #testplug.dll myPluginLow 54 55 ## A low level plugin that just prints a message when uprv_malloc and related functions are called 56 ## Note, it cannot be unloaded. 57 #testplug.dll debugMemoryPlugin 58