Gnash  0.8.10
namedStrings.h
Go to the documentation of this file.
00001 // 
00002 //   Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012
00003 //   Free Software Foundation, Inc.
00004 // 
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 3 of the License, or
00008 // (at your option) any later version.
00009 // 
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018 
00019 // A file to contain all of the different strings for which we want compile time
00020 // known string table keys.
00021 #ifndef GNASH_NAMED_STRINGS_H
00022 #define GNASH_NAMED_STRINGS_H
00023 
00024 namespace gnash {
00025 
00026 class string_table; // Forward
00027 
00029 //
00048 namespace NSV {
00049 
00057 enum NamedStrings {
00058         PROP_A = 1,
00059         PROP_ALIGN,
00060         PROP_ARGUMENTS,
00061         PROP_B,
00062         PROP_BOLD,
00063         PROP_C,
00064         PROP_CALLEE,
00065         PROP_CALLER,
00066         PROP_COLOR,
00067         PROP_CONCAT,
00068         PROP_CONSTRUCTOR,
00069         PROP_D,
00070         PROP_DATA,
00071         PROP_DECODE,
00072         PROP_DURATION,
00073         PROP_E,
00074         PROP_ENABLED,
00075         PROP_ESCAPE,
00076         PROP_G,
00077         PROP_H,
00078         PROP_HEIGHT,
00079         PROP_INDENT,
00080         PROP_ITALIC,
00081         PROP_LEADING,
00082         PROP_LEFT_MARGIN,
00083         PROP_LENGTH,
00084         PROP_LOADED,
00085         PROP_METH,
00086         PROP_POSITION,
00087         PROP_PROTOTYPE,
00088         PROP_PUSH,
00089         PROP_R,
00090         PROP_SIZE,
00091         PROP_SPLICE,
00092         PROP_STATUS,
00093         PROP_SUPER,
00094         PROP_TARGET,
00095         PROP_TEXT,
00096         PROP_THIS,
00097         PROP_TX,
00098         PROP_TY,
00099         PROP_uALPHA,
00100         PROP_uCURRENTFRAME,
00101         PROP_uDROPTARGET,
00102         PROP_uFOCUSRECT,
00103         PROP_uFRAMESLOADED,
00104         PROP_uGLOBAL,
00105         PROP_uHEIGHT,
00106         PROP_uHIGHQUALITY,
00107         PROP_uLISTENERS,
00108         PROP_uNAME,
00109         PROP_UNDERLINE,
00110         PROP_uPARENT,
00111         PROP_uQUALITY,
00112         PROP_uROOT,
00113         PROP_uROTATION,
00114         PROP_uSOUNDBUFTIME,
00115         PROP_uTARGET,
00116         PROP_uTOTALFRAMES,
00117         PROP_uuCONSTRUCTORuu,
00118         PROP_uuPROTOuu,
00119         PROP_uuRESOLVE,
00120         PROP_uURL,
00121         PROP_uVISIBLE,
00122         PROP_uWIDTH,
00123         PROP_uX,
00124         PROP_uXMOUSE,
00125         PROP_uXSCALE,
00126         PROP_uY,
00127         PROP_uYMOUSE,
00128         PROP_uYSCALE,
00129         PROP_W,
00130         PROP_WIDTH,
00131         PROP_X,
00132         PROP_Y,
00133         INTERNAL_HIGHEST_LOWERCASE,
00134 
00135         PROP_ADD_LISTENER,
00136         PROP_AS_NATIVE,
00137         PROP_AS_SET_PROP_FLAGS,
00138         PROP_BLOCK_INDENT,
00139         PROP_BROADCAST_MESSAGE,
00140         PROP_BULLET,
00141         PROP_uBYTES_TOTAL,
00142         PROP_uBYTES_LOADED,
00143         PROP_CONTENT_TYPE,
00144         PROP_FOCUS_ENABLED,
00145         PROP_HTML_TEXT,
00146         PROP_MATRIX_TYPE,
00147         PROP_ON_CLOSE,
00148         PROP_ON_CONNECT,
00149         PROP_ON_CONSTRUCT,
00150         PROP_ON_DATA,
00151         PROP_ON_DRAG_OUT,
00152         PROP_ON_DRAG_OVER,
00153         PROP_ON_ENTER_FRAME,
00154         PROP_ON_FULLSCREEN,
00155         PROP_ON_INITIALIZE,
00156         PROP_ON_KEY_DOWN,
00157         PROP_ON_KEY_PRESS,
00158         PROP_ON_KEY_UP,
00159         PROP_ON_KILL_FOCUS,
00160         PROP_ON_LOAD,
00161         PROP_ON_LOAD_ERROR,
00162         PROP_ON_LOAD_INIT,
00163         PROP_ON_LOAD_PROGRESS,
00164         PROP_ON_LOAD_START,
00165         PROP_ON_META_DATA,
00166         PROP_ON_MOUSE_DOWN,
00167         PROP_ON_MOUSE_MOVE,
00168         PROP_ON_MOUSE_UP,
00169         PROP_ON_PRESS,
00170         PROP_ON_RELEASE,
00171         PROP_ON_RELEASE_OUTSIDE,
00172         PROP_ON_RESIZE,
00173         PROP_ON_RESULT,
00174         PROP_ON_ROLL_OUT,
00175         PROP_ON_ROLL_OVER,
00176         PROP_ON_SELECT,
00177         PROP_ON_SET_FOCUS,
00178         PROP_ON_SOUND_COMPLETE,
00179         PROP_ON_STATUS,
00180         PROP_ON_TIMER,
00181         PROP_ON_UNLOAD,
00182         PROP_ON_XML,
00183         PROP_PARSE_XML,
00184         PROP_REMOVE_LISTENER,
00185         PROP_RIGHT_MARGIN,
00186         PROP_SCALE_MODE,
00187         PROP_TEXT_COLOR,
00188         PROP_TEXT_HEIGHT,
00189         PROP_TEXT_WIDTH,
00190         PROP_TO_LOWER_CASE,
00191         PROP_TO_STRING,
00192         PROP_uCUSTOM_HEADERS,
00193         PROP_USEHANDCURSOR,
00194         PROP_VALUE_OF,
00195         PROP_ON_SYNC,
00196         CLASS_ACCESSIBILITY,
00197         CLASS_ANTIALIASTYPE,
00198         CLASS_ARRAY,
00199         CLASS_AS_BROADCASTER,
00200         CLASS_BITMAP,
00201         CLASS_BOOLEAN,
00202         CLASS_BUTTON,
00203         CLASS_CAMERA,
00204         CLASS_COLOR,
00205         CLASS_CONTEXTMENU,
00206         CLASS_CONTEXTMENUITEM,
00207         CLASS_CSMTEXTSETTINGS,
00208         CLASS_DATE,
00209         CLASS_DISPLAYOBJECT,
00210         CLASS_DISPLAYOBJECTCONTAINER,
00211         CLASS_ERROR,
00212         CLASS_EVENT,
00213         CLASS_EVENTDISPATCHER,
00214         CLASS_FONT,
00215         CLASS_FONTSTYLE,
00216         CLASS_FUNCTION,
00217         CLASS_GRIDFITTYPE,
00218         CLASS_INT,
00219         CLASS_INTERACTIVEOBJECT,
00220         CLASS_KEY,
00221         CLASS_KEYBOARD,
00222         CLASS_LOAD_VARS,
00223         CLASS_LOCALCONNECTION,
00224         CLASS_MATH,
00225         CLASS_MICROPHONE,
00226         CLASS_MOUSE,
00227         CLASS_MOVIE_CLIP,
00228         CLASS_MOVIE_CLIP_LOADER,
00229         CLASS_NAMESPACE,
00230         CLASS_NET_CONNECTION,
00231         CLASS_NET_STREAM,
00232         CLASS_NUMBER,
00233         CLASS_OBJECT,
00234         CLASS_QNAME,
00235         CLASS_SELECTION,
00236         CLASS_SHAPE,
00237         CLASS_SHARED_OBJECT,
00238         CLASS_SIMPLE_BUTTON,
00239         CLASS_SOUND,
00240         CLASS_SPRITE,
00241         CLASS_STAGE,
00242         CLASS_STATICTEXT,
00243         CLASS_STRING,
00244         CLASS_STYLESHEET,
00245         CLASS_SYSTEM,
00246         CLASS_TEXTCOLORTYPE,
00247         CLASS_TEXTDISPLAYMODE,
00248         CLASS_TEXT_FIELD,
00249         CLASS_TEXTFIELDTYPE,
00250         CLASS_TEXT_FORMAT,
00251         CLASS_TEXTFORMATALIGN,
00252         CLASS_TEXT_SNAPSHOT,
00253         CLASS_TEXTFIELDAUTOSIZE,
00254         CLASS_TEXTLINEMETRICS,
00255         CLASS_TEXTRENDERER,
00256         CLASS_VIDEO,
00257         CLASS_XML,
00258         CLASS_XML_DOCUMENT,
00259         CLASS_XMLNODE,
00260         CLASS_XMLSOCKET,
00261         NS_ADOBE_UTILS,
00262         NS_FLASH_ACCESSIBILITY,
00263         NS_FLASH_DISPLAY,
00264         NS_FLASH_EVENTS,
00265         NS_FLASH_ERRORS,
00266         NS_FLASH_GEOM,
00267         NS_FLASH_MEDIA,
00268         NS_FLASH_NET,
00269         NS_FLASH_SYSTEM,
00270         NS_FLASH_TEXT,
00271         NS_FLASH_UI,
00272         NS_FLASH_UTILS,
00273         NS_FLASH_XML,
00274         INTERNAL_INTERFACES,
00275         INTERNAL_STACK_PARENT, // Any public property is unsafe
00276         INTERNAL_TYPE // The type name
00277     };
00278 
00280 void loadStrings(string_table &table);
00281 
00282 } // namespace NSV
00283 } // namespace gnash
00284 
00285 #endif // GNASH_NAMED_STRINGS_H
00286