summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:47 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:47 -0700
commita1d448270a202fbb19131bf50d2f5a3896faef60 (patch)
tree55da568552ccdcea14932d9d760c65528b36550f
parentc420528b485bde825da57337e970131a4707c265 (diff)
downloademoji-a1d448270a202fbb19131bf50d2f5a3896faef60.tar.gz
-rw-r--r--EmojiFactory.h4
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();
};