llclassifiedflags.h File Reference

Flags used in the classifieds. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef U8 ClassifiedFlags

Functions

ClassifiedFlags pack_classified_flags (BOOL is_mature, BOOL auto_renew)
bool is_cf_mature (ClassifiedFlags flags)
bool is_cf_update_time (ClassifiedFlags flags)
bool is_cf_auto_renew (ClassifiedFlags flags)

Variables

const U8 CLASSIFIED_FLAG_NONE = 1 << 0
const U8 CLASSIFIED_FLAG_MATURE = 1 << 1
const U8 CLASSIFIED_FLAG_UPDATE_TIME = 1 << 4
const U8 CLASSIFIED_FLAG_AUTO_RENEW = 1 << 5
const U8 CLASSIFIED_QUERY_FILTER_MATURE = 1 << 1
const U8 CLASSIFIED_QUERY_FILTER_ENABLED = 1 << 2
const U8 CLASSIFIED_QUERY_FILTER_PRICE = 1 << 3
const S32 MAX_CLASSIFIEDS = 100


Detailed Description

Flags used in the classifieds.

LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llclassifiedflags.h.


Typedef Documentation

typedef U8 ClassifiedFlags

Definition at line 35 of file llclassifiedflags.h.


Function Documentation

bool is_cf_auto_renew ( ClassifiedFlags  flags  ) 

Definition at line 69 of file llclassifiedflags.cpp.

References CLASSIFIED_FLAG_AUTO_RENEW.

Referenced by LLPanelClassified::processClassifiedInfoReply().

bool is_cf_mature ( ClassifiedFlags  flags  ) 

Definition at line 52 of file llclassifiedflags.cpp.

References CLASSIFIED_FLAG_MATURE.

Referenced by LLPanelClassified::processClassifiedInfoReply().

bool is_cf_update_time ( ClassifiedFlags  flags  ) 

Definition at line 64 of file llclassifiedflags.cpp.

References CLASSIFIED_FLAG_UPDATE_TIME.

ClassifiedFlags pack_classified_flags ( BOOL  is_mature,
BOOL  auto_renew 
)

Definition at line 44 of file llclassifiedflags.cpp.

References CLASSIFIED_FLAG_AUTO_RENEW, and CLASSIFIED_FLAG_MATURE.

Referenced by LLPanelDirFindAllOld::onClickSearch(), LLPanelDirClassified::performQuery(), and LLPanelClassified::sendClassifiedInfoUpdate().


Variable Documentation

const U8 CLASSIFIED_FLAG_AUTO_RENEW = 1 << 5

Definition at line 42 of file llclassifiedflags.h.

Referenced by is_cf_auto_renew(), and pack_classified_flags().

const U8 CLASSIFIED_FLAG_MATURE = 1 << 1

Definition at line 38 of file llclassifiedflags.h.

Referenced by is_cf_mature(), and pack_classified_flags().

const U8 CLASSIFIED_FLAG_NONE = 1 << 0

Definition at line 37 of file llclassifiedflags.h.

const U8 CLASSIFIED_FLAG_UPDATE_TIME = 1 << 4

Definition at line 41 of file llclassifiedflags.h.

Referenced by is_cf_update_time().

const U8 CLASSIFIED_QUERY_FILTER_ENABLED = 1 << 2

Definition at line 45 of file llclassifiedflags.h.

const U8 CLASSIFIED_QUERY_FILTER_MATURE = 1 << 1

Definition at line 44 of file llclassifiedflags.h.

const U8 CLASSIFIED_QUERY_FILTER_PRICE = 1 << 3

Definition at line 46 of file llclassifiedflags.h.

const S32 MAX_CLASSIFIEDS = 100

Definition at line 48 of file llclassifiedflags.h.

Referenced by LLPanelAvatarClassified::refresh().


Generated on Thu Jul 1 06:10:07 2010 for Second Life Viewer by  doxygen 1.4.7