Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | /* |
michael@0 | 2 | *************************************************************************** |
michael@0 | 3 | * Copyright (C) 2006 International Business Machines Corporation * |
michael@0 | 4 | * and others. All rights reserved. * |
michael@0 | 5 | *************************************************************************** |
michael@0 | 6 | */ |
michael@0 | 7 | |
michael@0 | 8 | #ifndef LOCALSVC_H |
michael@0 | 9 | #define LOCALSVC_H |
michael@0 | 10 | |
michael@0 | 11 | #include "unicode/utypes.h" |
michael@0 | 12 | |
michael@0 | 13 | #if U_LOCAL_SERVICE_HOOK |
michael@0 | 14 | /** |
michael@0 | 15 | * Prototype for user-supplied service hook. This function is expected to return |
michael@0 | 16 | * a type of factory object specific to the requested service. |
michael@0 | 17 | * |
michael@0 | 18 | * @param what service-specific string identifying the specific user hook |
michael@0 | 19 | * @param status error status |
michael@0 | 20 | * @return a service-specific hook, or NULL on failure. |
michael@0 | 21 | */ |
michael@0 | 22 | U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status); |
michael@0 | 23 | #endif |
michael@0 | 24 | |
michael@0 | 25 | #endif |