optionstate.cpp
00001 /*************************************************************************** 00002 * * 00003 * This program is free software; you can redistribute it and/or modify * 00004 * it under the terms of the GNU General Public License as published by * 00005 * the Free Software Foundation; either version 2 of the License, or * 00006 * (at your option) any later version. * 00007 * * 00008 * copyright (C) 2006 * 00009 * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * 00010 ***************************************************************************/ 00011 00012 #include "optionstate.h" 00013 00014 namespace Settings{ 00015 00016 OptionState pd_optionState; 00017 00018 OptionState& getOptionState() { 00019 return pd_optionState; 00020 } 00021 00022 void setOptionState(const OptionState& optstate) { 00023 pd_optionState = optstate; 00024 } 00025 00026 } // namespace Settings 00027
