00001 00032 #ifndef LL_LLCLASSIFIEDFLAGS_H 00033 #define LL_LLCLASSIFIEDFLAGS_H 00034 00035 typedef U8 ClassifiedFlags; 00036 00037 const U8 CLASSIFIED_FLAG_NONE = 1 << 0; 00038 const U8 CLASSIFIED_FLAG_MATURE = 1 << 1; 00039 //const U8 CLASSIFIED_FLAG_ENABLED = 1 << 2; // see llclassifiedflags.cpp 00040 //const U8 CLASSIFIED_FLAG_HAS_PRICE= 1 << 3; // deprecated 00041 const U8 CLASSIFIED_FLAG_UPDATE_TIME= 1 << 4; 00042 const U8 CLASSIFIED_FLAG_AUTO_RENEW = 1 << 5; 00043 00044 const U8 CLASSIFIED_QUERY_FILTER_MATURE = 1 << 1; 00045 const U8 CLASSIFIED_QUERY_FILTER_ENABLED = 1 << 2; 00046 const U8 CLASSIFIED_QUERY_FILTER_PRICE = 1 << 3; 00047 00048 const S32 MAX_CLASSIFIEDS = 100; 00049 00050 ClassifiedFlags pack_classified_flags(BOOL is_mature, BOOL auto_renew); 00051 bool is_cf_mature(ClassifiedFlags flags); 00052 //bool is_cf_enabled(ClassifiedFlags flags); 00053 bool is_cf_update_time(ClassifiedFlags flags); 00054 bool is_cf_auto_renew(ClassifiedFlags flags); 00055 00056 #endif