____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"
Public Member Functions | |
| virtual void | action (const std::string &eventId) |
Definition at line 440 of file patch_editor.cpp.
| virtual void PatchSaveButtonListener::action | ( | const std::string & | eventId | ) | [inline, virtual] |
Called whan an action is recieved from a Widget. It is used to be able to recieve a notification that an action has occured.
| eventId | the identifier of the Widget. |
Implements gcn::ActionListener.
Definition at line 443 of file patch_editor.cpp.
References CL_OPEN_WRITE, CFile::close(), CPatchType::getName(), CPatch::getType(), Map, CFile::open(), CMap::PatchManager, CFile::printf(), CPatchManager::savePatchType(), and UserDirectory.
1.5.6