intl/icu/source/common/localsvc.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/common/localsvc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +/*
     1.5 +***************************************************************************
     1.6 +*   Copyright (C) 2006 International Business Machines Corporation        *
     1.7 +*   and others. All rights reserved.                                      *
     1.8 +***************************************************************************
     1.9 +*/
    1.10 +
    1.11 +#ifndef LOCALSVC_H
    1.12 +#define LOCALSVC_H
    1.13 +
    1.14 +#include "unicode/utypes.h"
    1.15 +
    1.16 +#if U_LOCAL_SERVICE_HOOK
    1.17 +/**
    1.18 + * Prototype for user-supplied service hook. This function is expected to return
    1.19 + * a type of factory object specific to the requested service.
    1.20 + * 
    1.21 + * @param what service-specific string identifying the specific user hook
    1.22 + * @param status error status
    1.23 + * @return a service-specific hook, or NULL on failure.
    1.24 + */
    1.25 +U_CAPI void* uprv_svc_hook(const char *what, UErrorCode *status);
    1.26 +#endif
    1.27 +
    1.28 +#endif

mercurial