stdenums.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_STDENUMS_H
00033 #define LL_STDENUMS_H
00034 
00035 //----------------------------------------------------------------------------
00036 // DEPRECATED - create new, more specific files for shared enums/constants
00037 //----------------------------------------------------------------------------
00038 
00039 // this enum is used by the llview.h (viewer) and the llassetstorage.h (viewer and sim) 
00040 enum EDragAndDropType
00041 {
00042         DAD_NONE                        = 0,
00043         DAD_TEXTURE                     = 1,
00044         DAD_SOUND                       = 2,
00045         DAD_CALLINGCARD         = 3,
00046         DAD_LANDMARK            = 4,
00047         DAD_SCRIPT                      = 5,
00048         DAD_CLOTHING            = 6,
00049         DAD_OBJECT                      = 7,
00050         DAD_NOTECARD            = 8,
00051         DAD_CATEGORY            = 9,
00052         DAD_ROOT_CATEGORY       = 10,
00053         DAD_BODYPART            = 11,
00054         DAD_ANIMATION           = 12,
00055         DAD_GESTURE                     = 13,
00056         DAD_COUNT                       = 14,   // number of types in this enum
00057 };
00058 
00059 // Reasons for drags to be denied.
00060 // ordered by priority for multi-drag
00061 enum EAcceptance
00062 {
00063         ACCEPT_POSTPONED,       // we are asynchronously determining acceptance
00064         ACCEPT_NO,                      // Uninformative, general purpose denial.
00065         ACCEPT_NO_LOCKED,       // Operation would be valid, but permissions are set to disallow it.
00066         ACCEPT_YES_COPY_SINGLE, // We'll take a copy of a single item
00067         ACCEPT_YES_SINGLE,              // Accepted. OK to drag and drop single item here.
00068         ACCEPT_YES_COPY_MULTI,  // We'll take a copy of multiple items
00069         ACCEPT_YES_MULTI                // Accepted. OK to drag and drop multiple items here.
00070 };
00071 
00072 // This is used by the DeRezObject message to determine where to put
00073 // derezed tasks.
00074 enum EDeRezDestination
00075 {
00076         DRD_SAVE_INTO_AGENT_INVENTORY = 0,
00077         DRD_ACQUIRE_TO_AGENT_INVENTORY = 1,             // try to leave copy in world
00078         DRD_SAVE_INTO_TASK_INVENTORY = 2,
00079         DRD_ATTACHMENT = 3,
00080         DRD_TAKE_INTO_AGENT_INVENTORY = 4,              // delete from world
00081         DRD_FORCE_TO_GOD_INVENTORY = 5,                 // force take copy
00082         DRD_TRASH = 6,
00083         DRD_ATTACHMENT_TO_INV = 7,
00084         DRD_ATTACHMENT_EXISTS = 8,
00085         DRD_RETURN_TO_OWNER = 9,                                // back to owner's inventory
00086         DRD_RETURN_TO_LAST_OWNER = 10,                  // deeded object back to last owner's inventory
00087 
00088         DRD_COUNT = 11
00089 };
00090 
00091 
00092 // This is used by the return to owner code to determine the reason
00093 // that this object is being returned.
00094 enum EReturnReason
00095 {
00096         RR_GENERIC = 0,
00097         RR_SANDBOX = 1,
00098         RR_PARCEL_OWNER = 2,
00099         RR_PARCEL_AUTO = 3,
00100         RR_PARCEL_FULL = 4,
00101         RR_OFF_WORLD = 5,
00102         
00103         RR_COUNT = 6
00104 };
00105 
00106 // This is used for filling in the first byte of the ExtraID field of
00107 // the ObjectProperties message.
00108 enum EObjectPropertiesExtraID
00109 {
00110         OPEID_NONE = 0,
00111         OPEID_ASSET_ID = 1,
00112         OPEID_FROM_TASK_ID = 2,
00113 
00114         OPEID_COUNT = 3
00115 };
00116 
00117 enum EAddPosition
00118 {
00119         ADD_TOP,
00120         ADD_SORTED,
00121         ADD_BOTTOM
00122 };
00123 
00124 enum LLGroupChange
00125 {
00126         GC_PROPERTIES,
00127         GC_MEMBER_DATA,
00128         GC_ROLE_DATA,
00129         GC_ROLE_MEMBER_DATA,
00130         GC_TITLES,
00131         GC_ALL
00132 };
00133 
00134 //----------------------------------------------------------------------------
00135 // DEPRECATED - create new, more specific files for shared enums/constants
00136 //----------------------------------------------------------------------------
00137 
00138 #endif

Generated on Thu Jul 1 06:09:59 2010 for Second Life Viewer by  doxygen 1.4.7