]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Make the name of a FileTarget be its basename instead of full path
[builder.git] / source / builder.h
index 653a81ad22cf51ca83bbced40c0183c991b89947..9dca6f025fceeb8bf8a010d8480dbfbfd5285895 100644 (file)
@@ -22,8 +22,10 @@ Distributed under the LGPL
 
 class Analyzer;
 class Config;
+class FileTarget;
 class Package;
 class SourcePackage;
+class VirtualTarget;
 
 /**
 The main application class.  Controls and owns everything.  Rules the world.
@@ -146,7 +148,8 @@ public:
 
        /** Adds a target to both the target map and the new target queue.  Called
        from Target constructor. */
-       void add_target(Target *);
+       void add_target(FileTarget *);
+       void add_target(VirtualTarget *);
 
        void problem(const std::string &, const std::string &);