diff options
Diffstat (limited to 'EmojiFactory.h')
| -rw-r--r-- | EmojiFactory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/EmojiFactory.h b/EmojiFactory.h index 1d3fa06..97ded4c 100644 --- a/EmojiFactory.h +++ b/EmojiFactory.h @@ -87,11 +87,15 @@ class EmojiFactory { // Get a specific implementation of EmojiFactory. If there's no implementation // for "name", returns NULL. + // The ownership of the instance remains to this class, so users must not + // release it. static EmojiFactory *GetImplementation(const char *name); // Get an implementation of EmojiFactory. This assumes that, usually, there // should be only one possible EmojiFactory implementation. If there are more // than one implementations, most prefered one is returned. + // The ownership of the instance remains to this class, so users must not + // release it. static EmojiFactory *GetAvailableImplementation(); }; |
