michael@0: # Copyright (C) 2009-2010 IBM Corporation and Others. All Rights Reserved. michael@0: # michael@0: # This is a sample ICU Plugins control file for Windows. michael@0: # It's also an example control file for any platform. michael@0: # michael@0: # This file can be copied to, for example, C:\SOMEDIRECTORY\icuplugins##.txt michael@0: # where ## is the major and minor ICU versions (i.e. just 96 for version 9.6.3) michael@0: # and C:\SOMEDIRECTORY is any directory. michael@0: # michael@0: # Then, set the variable ICU_PLUGINS to C:\SOMEDIRECTORY michael@0: # michael@0: # Then, ICU will load the test plugin from either the debug or non-debug michael@0: # plugin DLL (depending on whether ICU is in debug or non-debug state). michael@0: # michael@0: # To see the results, run the command "icuinfo -v -L" michael@0: # michael@0: # The format of this file is pretty simple. michael@0: # These lines are comments. michael@0: # michael@0: # Non-comment lines have two or three elements in them, and look like this: michael@0: # michael@0: # LIBRARYNAME ENTRYPOINT [ CONFIGURATION .. ] michael@0: # michael@0: # Tabs or spaces separate the three items. michael@0: # michael@0: # LIBRARYNAME is the name of a shared library, either a short name if it is on the PATH, michael@0: # or a full pathname. michael@0: # michael@0: # ENTRYPOINT is the short (undecorated) symbol name of the plugin's entrypoint. michael@0: # see unicode/icuplug.h for information. michael@0: # michael@0: # CONFIGURATION is the entire rest of the line. It's passed as-is to the plugin. michael@0: # michael@0: # michael@0: # This sample file tries to load 'myPlugin'. michael@0: # It is in the testplug project. (You will need to rebuild either the debug or release version of this DLL.) michael@0: # The configuration string isn't used, but is just an example michael@0: michael@0: ## A high level test plugin that does nothing. michael@0: testplug.dll myPlugin hello=world michael@0: michael@0: ## A "bad" plugin that is low level but performs a malloc. michael@0: ## Sometimes this is desired, but, note that it may cause michael@0: ## later plugins to fail to load. michael@0: #testplug.dll myPluginBad hello=world michael@0: michael@0: ## A "high-level" plugin that does nothing. michael@0: ## It will be loaded after the low level plugins. michael@0: #testplug.dll myPluginHigh michael@0: michael@0: ## A "low-level" plugin that does nothing. michael@0: ## It will be loaded before the high level plugins. michael@0: #testplug.dll myPluginLow michael@0: michael@0: ## A low level plugin that just prints a message when uprv_malloc and related functions are called michael@0: ## Note, it cannot be unloaded. michael@0: #testplug.dll debugMemoryPlugin