~ubuntu-branches/debian/sid/wordpress/sid

« back to all changes in this revision

Viewing changes to debian/missing-sources/plupload/flash/plupload/src/com/mxi/image/events/ImageEvent.as

  • Committer: Package Import Robot
  • Author(s): Craig Small
  • Date: 2014-04-16 22:48:26 UTC
  • mfrom: (1.2.34)
  • Revision ID: package-import@ubuntu.com-20140416224826-087tu71aw8bjhvmd
Tags: 3.8.3+dfsg-1
New upstream release - fixes Quick Draft tool that broke in 3.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Copyright 2011, Moxiecode Systems AB
 
3
 * Released under GPL License.
 
4
 *
 
5
 * License: http://www.plupload.com/license
 
6
 * Contributing: http://www.plupload.com/contributing
 
7
 */
 
8
 
 
9
package com.mxi.image.events {
 
10
        import flash.events.Event;
 
11
 
 
12
        /**
 
13
         * This class is used for uploads of chunks.
 
14
         */
 
15
        public class ImageEvent extends Event {
 
16
                                
 
17
                public static const COMPLETE:String = 'imagecomplete';
 
18
                public static const ERROR:String = 'imageerror';
 
19
                
 
20
                public static const WRONG_FORMAT:String = '-700';
 
21
                public static const OUT_OF_MEMORY:String = '-701';
 
22
                public static const OUT_OF_DIMENSIONS:String = '-702';
 
23
                
 
24
                public var code:String;
 
25
 
 
26
                function ImageEvent(type:String, code:String = null) {
 
27
                        this.code = code;
 
28
                        super(type, false, false);
 
29
                }
 
30
                
 
31
                override public function clone() : Event 
 
32
                { 
 
33
                        return new ImageEvent(type, code); 
 
34
                }
 
35
        }
 
36
}
 
 
b'\\ No newline at end of file'