~ubuntu-branches/ubuntu/saucy/manaplus/saucy-proposed

« back to all changes in this revision

Viewing changes to src/gui/textdialog.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-06-10 10:53:26 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130610105326-c3xqk5ebcgy3jxmb
Tags: 1.3.6.9-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
21
 */
22
22
 
23
 
#ifndef GUI_GUILD_DIALOG_H
24
 
#define GUI_GUILD_DIALOG_H
 
23
#ifndef GUI_TEXTDIALOG_H
 
24
#define GUI_TEXTDIALOG_H
25
25
 
26
26
#include "gui/widgets/window.h"
27
27
 
61
61
     */
62
62
    const std::string &getText() const A_WARN_UNUSED;
63
63
 
64
 
    void setText(std::string text);
 
64
    void setText(const std::string &text);
65
65
 
66
66
    static bool isActive() A_WARN_UNUSED
67
67
    { return instances; }
68
68
 
69
 
    void close();
 
69
    void close() override;
70
70
 
71
71
private:
72
72
    static int instances;
77
77
    bool mEnabledKeyboard;
78
78
};
79
79
 
80
 
#endif
 
80
#endif  // GUI_TEXTDIALOG_H