libgnomeuimm 2.28.0
app-callback.h
Go to the documentation of this file.
1/*
2 * Copyright 2000 Karl Nelson
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free
16 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 *
18 */
19
20#ifndef GNOMEMM_APP_CALLBACK_H
21#define GNOMEMM_APP_CALLBACK_H
22
23namespace Gnome
24{
25
26/*
27// With replies
28class ReplyHolder
29{
30public:
31 ReplyCallback cb_;
32 ReplyHolder(ReplyCallback cb) : cb_(cb) {}
33};
34
35class StringHolder
36{
37public:
38 StringCallback cb_;
39 StringHolder(StringCallback cb) : cb_(cb) {}
40};
41
42void add_reply(Gnome::Dialog* w, ReplyHolder* rh);
43void add_reply(Gnome::Dialog* w, StringHolder* rh);
44void reply_call(gint i, void* data);
45void string_reply_call(const gchar* i, void* data);
46*/
47
48} /* namespace Gnome */
49
50#endif /* GNOMEMM_APP_CALLBACK_H */
Definition: about.h:46