home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / mx / managers / HistoryManager.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  1.1 KB  |  51 lines

  1. package mx.managers
  2. {
  3.    import mx.core.Singleton;
  4.    import mx.core.mx_internal;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class HistoryManager
  9.    {
  10.       private static var implClassDependency:HistoryManagerImpl;
  11.       
  12.       private static var _impl:IHistoryManager;
  13.       
  14.       mx_internal static const VERSION:String = "3.5.0.12683";
  15.       
  16.       public function HistoryManager()
  17.       {
  18.          super();
  19.       }
  20.       
  21.       public static function save() : void
  22.       {
  23.          impl.save();
  24.       }
  25.       
  26.       private static function get impl() : IHistoryManager
  27.       {
  28.          if(!_impl)
  29.          {
  30.             _impl = IHistoryManager(Singleton.getInstance("mx.managers::IHistoryManager"));
  31.          }
  32.          return _impl;
  33.       }
  34.       
  35.       public static function register(param1:IHistoryManagerClient) : void
  36.       {
  37.          impl.register(param1);
  38.       }
  39.       
  40.       public static function unregister(param1:IHistoryManagerClient) : void
  41.       {
  42.          impl.unregister(param1);
  43.       }
  44.       
  45.       public static function initialize(param1:ISystemManager) : void
  46.       {
  47.       }
  48.    }
  49. }
  50.  
  51.