Commit 1d9516c0 authored by dickelbeck's avatar dickelbeck

made GetCurItem() inline

parent 5c3b480a
......@@ -555,12 +555,6 @@ EDA_BaseStruct* BASE_SCREEN::GetItemFromRedoList( void )
}
EDA_BaseStruct* BASE_SCREEN::GetCurItem()
{
return m_CurrentItem;
}
void BASE_SCREEN::SetCurItem( EDA_BaseStruct* aCurItem )
{
m_CurrentItem = aCurItem;
......
......@@ -260,13 +260,12 @@ public:
/**
* Function SetCurItem
* sets the currently selected object, m_CurrentItem.
* This intentionally not inlined so we can set breakpoints on the
* This is intentionally not inlined so we can set breakpoints on the
* activity easier in base_screen.cpp.
* @param current Any object derived from EDA_BaseStruct
*/
void SetCurItem( EDA_BaseStruct* current );
EDA_BaseStruct* GetCurItem();
EDA_BaseStruct* GetCurItem() const { return m_CurrentItem; }
/* fonctions relatives au zoom */
int GetZoom( void ); /* retourne le coeff de zoom */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment