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

« back to all changes in this revision

Viewing changes to src/live_effects/lpeobject.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:
 
1
#ifndef INKSCAPE_LIVEPATHEFFECT_OBJECT_H
 
2
#define INKSCAPE_LIVEPATHEFFECT_OBJECT_H
 
3
 
 
4
/*
 
5
 * Inkscape::LivePathEffect
 
6
 *
 
7
* Copyright (C) Johan Engelen 2007-2008 <j.b.c.engelen@utwente.nl>
 
8
 *
 
9
 * Released under GNU GPL, read the file 'COPYING' for more information
 
10
 */
 
11
 
 
12
#include "sp-object.h"
 
13
#include "effect.h"
 
14
 
 
15
#define TYPE_LIVEPATHEFFECT  (livepatheffect_get_type())
 
16
#define LIVEPATHEFFECT(o)    (G_TYPE_CHECK_INSTANCE_CAST((o), TYPE_LIVEPATHEFFECT, LivePathEffectObject))
 
17
#define IS_LIVEPATHEFFECT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), TYPE_LIVEPATHEFFECT))
 
18
 
 
19
struct LivePathEffectObject : public SPObject {
 
20
    Inkscape::LivePathEffect::EffectType effecttype;
 
21
    Inkscape::LivePathEffect::Effect *lpe;
 
22
 
 
23
    bool effecttype_set;
 
24
 
 
25
    LivePathEffectObject * fork_private_if_necessary(int nr_of_allowed_users = 1);
 
26
};
 
27
 
 
28
/// The LivePathEffect vtable.
 
29
struct LivePathEffectObjectClass {
 
30
    SPObjectClass parent_class;
 
31
};
 
32
 
 
33
GType livepatheffect_get_type();
 
34
 
 
35
#endif
 
36
 
 
37
/*
 
38
  Local Variables:
 
39
  mode:c++
 
40
  c-file-style:"stroustrup"
 
41
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
42
  indent-tabs-mode:nil
 
43
  fill-column:99
 
44
  End:
 
45
*/
 
46
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :