~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/helper/action.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "libnr/nr-object.h"
26
26
#include "forward.h"
27
27
 
 
28
#include <glibmm/ustring.h>
28
29
//class Inkscape::UI::View::View; 
29
30
 
30
31
namespace Inkscape {
41
42
    void (* set_active)(SPAction *action, unsigned active, void *data);       /**< Callback for activation change */
42
43
    void (* set_sensitive)(SPAction *action, unsigned sensitive, void *data); /**< Callback for a change in sensitivity */
43
44
    void (* set_shortcut)(SPAction *action, unsigned shortcut, void *data);   /**< Callback for setting the shortcut for this function */
 
45
    void (* set_name)(SPAction *action, Glib::ustring, void *data);           /**< Callback for setting the name for this function */
44
46
};
45
47
 
46
48
/** All the data that is required to be an action.  This
74
76
void sp_action_perform(SPAction *action, void *data);
75
77
void sp_action_set_active(SPAction *action, unsigned active);
76
78
void sp_action_set_sensitive(SPAction *action, unsigned sensitive);
 
79
void sp_action_set_name (SPAction *action, Glib::ustring);
77
80
Inkscape::UI::View::View *sp_action_get_view(SPAction *action);
78
81
 
79
82
#endif