intl/icu/source/common/localsvc.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

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.)

     1 /*
     2 ***************************************************************************
     3 *   Copyright (C) 2006 International Business Machines Corporation        *
     4 *   and others. All rights reserved.                                      *
     5 ***************************************************************************
     6 */
     8 #ifndef LOCALSVC_H
     9 #define LOCALSVC_H
    11 #include "unicode/utypes.h"
    13 #if U_LOCAL_SERVICE_HOOK
    14 /**
    15  * Prototype for user-supplied service hook. This function is expected to return
    16  * a type of factory object specific to the requested service.
    17  * 
    18  * @param what service-specific string identifying the specific user hook
    19  * @param status error status
    20  * @return a service-specific hook, or NULL on failure.
    21  */
    22 U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status);
    23 #endif
    25 #endif

mercurial