Code

6220c2190a3229261803ed1ad9a014fee34a44e4
[inkscape.git] / src / extension / internal / emf-win32-inout.h
1 /*
2  * Enhanced Metafile Input/Output.
3  *
4  * Authors:
5  *   Ulf Erikson <ulferikson@users.sf.net>
6  *
7  * Copyright (C) 2006-2008 Authors
8  *
9  * Released under GNU GPL, read the file 'COPYING' for more information
10  */
12 #ifndef EXTENSION_INTERNAL_EMF_WIN32_H
13 #define EXTENSION_INTERNAL_EMF_WIN32_H
15 #ifdef WIN32
17 #include "extension/implementation/implementation.h"
18 #include "style.h"
20 namespace Inkscape {
21 namespace Extension {
22 namespace Internal {
24 class EmfWin32 : Inkscape::Extension::Implementation::Implementation { //This is a derived class
26 public:
27     EmfWin32(); // Empty constructor
29     virtual ~EmfWin32();//Destructor
31     bool check(Inkscape::Extension::Extension *module); //Can this module load (always yes for now)
33     void save(Inkscape::Extension::Output *mod, // Save the given document to the given filename
34               SPDocument *doc,
35               gchar const *uri);
37     virtual SPDocument *open( Inkscape::Extension::Input *mod,
38                                 const gchar *uri );
40     static void init(void);//Initialize the class
42 private:
43 };
45 } } }  /* namespace Inkscape, Extension, Implementation */
47 #endif /* WIN32 */
49 #endif /* EXTENSION_INTERNAL_EMF_WIN32_H */
51 /*
52   Local Variables:
53   mode:c++
54   c-file-style:"stroustrup"
55   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
56   indent-tabs-mode:nil
57   fill-column:99
58   End:
59 */
60 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :