~ubuntu-branches/ubuntu/oneiric/dammit/oneiric

« back to all changes in this revision

Viewing changes to dammit/temporary_node.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Simon Richter
  • Date: 2008-05-25 18:09:39 UTC
  • Revision ID: james.westby@ubuntu.com-20080525180939-iguzr0jb41w5s1oe
Tags: upstream-0~preview1
ImportĀ upstreamĀ versionĀ 0~preview1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 2008 Simon Richter <Simon.Richter@hogyros.de>
 
2
 *
 
3
 * Released under the GNU General Public Licence version 3.
 
4
 */
 
5
 
 
6
#ifndef dammit_temporary_node_hpp_
 
7
#define dammit_temporary_node_hpp_ 1
 
8
 
 
9
#include "node.hpp"
 
10
 
 
11
#include "action_node.hpp"
 
12
 
 
13
#include <dammit/path.hpp>
 
14
 
 
15
namespace dammit {
 
16
 
 
17
class temporary_node :
 
18
        public node
 
19
{
 
20
public:
 
21
        virtual ~temporary_node(void) throw() { }
 
22
 
 
23
        virtual intrusive_ptr<node> apply(visitor &);
 
24
        virtual void apply(const_visitor &) const;
 
25
 
 
26
        path directory;
 
27
        path filename;
 
28
 
 
29
        intrusive_ptr<node> action;
 
30
};
 
31
 
 
32
}
 
33
 
 
34
#endif