2 ******************************************************************************
3 * Copyright (C) 2014, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************
9 #ifndef __SHARED_PLURALRULES_H__
10 #define __SHARED_PLURALRULES_H__
12 #include "unicode/utypes.h"
13 #include "sharedobject.h"
19 class U_I18N_API SharedPluralRules
: public SharedObject
{
21 SharedPluralRules(PluralRules
*prToAdopt
) : ptr(prToAdopt
) { }
22 virtual ~SharedPluralRules();
23 const PluralRules
*operator->() const { return ptr
; }
24 const PluralRules
&operator*() const { return *ptr
; }
27 SharedPluralRules(const SharedPluralRules
&);
28 SharedPluralRules
&operator=(const SharedPluralRules
&);