Fix PDF content type, better publisher initialization
[pykit.git] / PythonPublisher.hh
1 // $Id$
2 //
3 // Copyright (C) 2010
4 //     Stefan Bund <info@j32.de>
5
6 /** \file
7     \brief PythonPublisher public header */
8
9 #ifndef HH_PyKit_PythonPublisher_
10 #define HH_PyKit_PythonPublisher_ 1
11
12 // Custom includes
13 #include <boost/scoped_ptr.hpp>
14 #include "Publisher.hh"
15
16 //#include "PythonPublisher.mpp"
17 ///////////////////////////////hh.p////////////////////////////////////////
18
19 namespace pykit {
20
21     class PythonPublisher
22         : public Publisher
23     {
24     public:
25         explicit PythonPublisher();
26         ~PythonPublisher();
27
28         void publish(Request & request);
29
30     private:
31         struct Impl;
32         boost::scoped_ptr<Impl> impl_;
33     };
34
35 }
36
37 ///////////////////////////////hh.e////////////////////////////////////////
38 //#include "PythonPublisher.cci"
39 //#include "PythonPublisher.ct"
40 //#include "PythonPublisher.cti"
41 #endif
42
43 \f
44 // Local Variables:
45 // mode: c++
46 // fill-column: 100
47 // comment-column: 40
48 // c-file-style: "j32"
49 // indent-tabs-mode: nil
50 // ispell-local-dictionary: "american"
51 // compile-command: "scons -U"
52 // End: