You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/11/30 03:13:37 UTC

[royale-asjs] 01/03: All Factories should extend one base factory

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 3919e0d40b751c932c8d6452d3c7ececaee85de9
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Nov 29 18:24:51 2018 -0800

    All Factories should extend one base factory
---
 .../MXRoyale/src/main/royale/mx/core/IFactory.as    | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/IFactory.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/IFactory.as
index 98d8fef..2525caa 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/IFactory.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/IFactory.as
@@ -20,6 +20,8 @@
 package mx.core
 {
 
+import org.apache.royale.core.IFactory;
+
 /**
  *  The IFactory interface defines the interface that factory classes
  *  such as ClassFactory must implement.
@@ -38,26 +40,9 @@ package mx.core
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.3
  */
-public interface IFactory
+public interface IFactory extends org.apache.royale.core.IFactory
 {
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
 
-	/**
-	 *  Creates an instance of some class (determined by the class that
-	 *  implements IFactory).
-	 *
-	 *  @return The newly created instance.
-	 *  
-	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Royale 0.9.3
-	 */
-	function newInstance():*;
 }
 
 }