Emergency 20 Dokumentation  4.2.0
FireMaterialManager-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public methods ]
13  //[-------------------------------------------------------]
15  {
16  return mContentHasChanged;
17  }
18 
19  inline void FireMaterialManager::setContentHasChanged(bool contentHasChanged)
20  {
21  mContentHasChanged = contentHasChanged;
22  }
23 
24  // TODO(sw) remove the qsf::AssetRevision parameter as soon as this information can be gathered inside the manager
25  inline void FireMaterialManager::setIsEditing(bool isEditing, qsf::AssetRevision assetRevision)
26  {
27  mIsEditing = isEditing;
28  mAssetRevision = assetRevision;
29  }
30 
31 
32 //[-------------------------------------------------------]
33 //[ Namespace ]
34 //[-------------------------------------------------------]
35 } // em5
Definition: ActionPriority.h:13
void setIsEditing(bool isEditing, qsf::AssetRevision assetRevision=-1)
Let the manager know if the fire materials assets are currently be edited.
Definition: FireMaterialManager-inl.h:25
bool getContentHasChanged() const
Definition: FireMaterialManager-inl.h:14
void setContentHasChanged(bool contentHasChanged)
Flag content of fire material manager as dirty.
Definition: FireMaterialManager-inl.h:19
int AssetRevision
Definition: AssetSystemTypes.h:38