aboutsummaryrefslogtreecommitdiff
path: root/include/fruit/fruit_forward_decls.h
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2014-07-27 11:02:44 +0100
committerMarco Poletti <poletti.marco@gmail.com>2014-07-27 11:03:18 +0100
commit5bc9876320ebce22c4ce6b223952da757038e7d9 (patch)
tree82345fd060ade2acc23b90d0dee431178bc9aba2 /include/fruit/fruit_forward_decls.h
parent136bcb27e0582777a2f2fa8b9dc3cced9f962a4a (diff)
downloadgoogle-fruit-5bc9876320ebce22c4ce6b223952da757038e7d9.tar.gz
Minor changes: move code between classes, split PartialComponent out of ComponentImpl, fix Clang warnings, add comments.
Diffstat (limited to 'include/fruit/fruit_forward_decls.h')
-rw-r--r--include/fruit/fruit_forward_decls.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/include/fruit/fruit_forward_decls.h b/include/fruit/fruit_forward_decls.h
index 8d1949b..b4531a5 100644
--- a/include/fruit/fruit_forward_decls.h
+++ b/include/fruit/fruit_forward_decls.h
@@ -28,12 +28,61 @@ struct Assisted;
template <typename... Types>
class Component;
+template <typename... Types>
+class PartialComponent;
+
template <typename... P>
class Provider;
template <typename... P>
class Injector;
+namespace impl {
+
+template <typename Comp>
+struct Identity;
+
+template <typename Comp, typename I, typename C>
+struct Bind;
+
+template <typename Comp, typename I, typename C>
+struct BindNonFactory;
+
+template <typename Comp, typename I, typename C>
+struct AddMultibinding;
+
+template <typename Comp, typename Signature>
+struct RegisterProvider;
+
+template <typename Comp, typename Signature>
+struct RegisterMultibindingProvider;
+
+template <typename Comp, typename AnnotatedSignature>
+struct RegisterFactory;
+
+template <typename Comp, typename C>
+struct RegisterInstance;
+
+template <typename Comp, typename C>
+struct AddInstanceMultibinding;
+
+template <typename Comp, typename Signature>
+struct RegisterConstructor;
+
+template <typename Comp, typename AnnotatedSignature>
+struct RegisterConstructorAsFactory;
+
+template <typename Comp, typename OtherComp>
+struct InstallComponent;
+
+template <typename Comp, typename ToRegister>
+struct ComponentConversionHelper;
+
+template <typename Comp, typename TargetRequirements, bool is_already_provided, typename C>
+struct EnsureProvidedTypeHelper;
+
+} // namespace impl
+
}
#endif // FRUIT_FRUIT_FORWARD_DECLS_H