____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

PatchSaveButtonListener Class Reference

Inheritance diagram for PatchSaveButtonListener:

gcn::ActionListener

List of all members.

Public Member Functions

virtual void action (const std::string &eventId)


Detailed Description

Definition at line 440 of file patch_editor.cpp.


Member Function Documentation

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.

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Sat Feb 21 00:28:25 2009 for Bos Wars by  doxygen 1.5.6