~ubuntu-branches/ubuntu/oneiric/dasher/oneiric

« back to all changes in this revision

Viewing changes to Src/DasherCore/DasherNode.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-09-18 11:41:58 UTC
  • mfrom: (1.2.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20070918114158-7xrt1bn6dy6dskoi
Tags: 4.6.0-0ubuntu1
* New upstream release:
  - Moving to release series
  - Translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include "../Common/Common.h"
22
22
 
23
 
#include "AlphabetManager.h"
 
23
// #include "AlphabetManager.h" - doesnt seem to be required - pconlon
24
24
 
25
25
#include "DasherNode.h"
26
26
 
171
171
}
172
172
 
173
173
void CDasherNode::SetFlag(int iFlag, bool bValue) {
174
 
  if(bValue)
 
174
 
 
175
 if(bValue)
175
176
    m_iFlags = m_iFlags | iFlag;
176
177
  else
177
178
    m_iFlags = m_iFlags & (~iFlag);
178
 
  
179
 
  m_pNodeManager->SetFlag(this, iFlag, bValue);
 
179
 
 
180
 m_pNodeManager->SetFlag(this, iFlag, bValue);
 
181
 
180
182
}
181
183
 
182
184
void CDasherNode::SetParent(CDasherNode *pNewParent) {