X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvirtualfilesystem.h;h=aef6ab09392a6cafc83a1f68d58abb295a6f709b;hb=903a5727ef1f8a7f540e162139396163c736d484;hp=f0cb7383fc9e26ea093d558cbb5bc2885d574f89;hpb=2f1e3b296bb8a2c4fcb73d7339cf7d0d6f9d1459;p=builder.git diff --git a/source/virtualfilesystem.h b/source/virtualfilesystem.h index f0cb738..aef6ab0 100644 --- a/source/virtualfilesystem.h +++ b/source/virtualfilesystem.h @@ -17,10 +17,10 @@ possible to build them. class VirtualFileSystem { public: - typedef std::list SearchPath; + typedef std::list SearchPath; private: - typedef std::map TargetMap; + typedef std::map TargetMap; Builder &builder; TargetMap targets; @@ -29,6 +29,8 @@ private: public: VirtualFileSystem(Builder &); + /** Gets an existing target associated with a path. If no target has claimed + that path, 0 is returned. */ FileTarget *get_target(const Msp::FS::Path &) const; /** Registers a target with the VFS. A target may be registered at multiple