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

« back to all changes in this revision

Viewing changes to dammit/input_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_input_node_hpp_
 
7
#define dammit_input_node_hpp_ 1
 
8
 
 
9
#include "node.hpp"
 
10
 
 
11
#include <dammit/path.hpp>
 
12
 
 
13
namespace dammit {
 
14
 
 
15
/** Represents an input file */
 
16
class input_node :
 
17
        public node
 
18
{
 
19
public:
 
20
        input_node(path const &directory, path const &filename);
 
21
        virtual ~input_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
 
 
30
}
 
31
 
 
32
#endif