Places/Coding Style: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 54: Line 54:


Constructors params are inited like this (notice order of inited params should be the same as they are defined in the class definition, otherwise GCC will warn)<br>  
Constructors params are inited like this (notice order of inited params should be the same as they are defined in the class definition, otherwise GCC will warn)<br>  
<pre>nsNavHistory::nsNavHistory()
<pre>nsNavHistory::Method(type1* aParam1,
: mBatchLevel(0)
                          const type2& aParam2)
, mBatchHasTransaction(PR_FALSE)
  : mProperty1(0)
, mCachedNow(0)
  , mPRoperty2(PR_FALSE)
, mExpireNowTimer(nsnull)
, mExpireDaysMin(0)
, mExpireDaysMax(0)
, mExpireSites(0)
, mNumVisitsForFrecency(10)
, mTagsFolder(-1)
, mInPrivateBrowsing(PRIVATEBROWSING_NOTINITED)
, mDatabaseStatus(DATABASE_STATUS_OK)
, mCanNotify(true)
, mCacheObservers("history-observers")
{
{
   impl;
   impl;
Confirmed users
595

edits

Navigation menu