]> git.tdb.fi Git - builder.git/blobdiff - source/importlibrary.h
Mark overridden virtual functions as such
[builder.git] / source / importlibrary.h
index 86d26f45d201981f52f82f2c4d22bb245fefa71f..26c116da5707e880ebf00e9bc96e3031128a92d3 100644 (file)
@@ -3,16 +3,28 @@
 
 #include "filetarget.h"
 
+class ExportDefinitions;
+class SharedLibrary;
+
 /**
 A special case of static library which pulls in a shared library.  Used on
 platforms with no true dynamic linking support.
 */
 class ImportLibrary: public FileTarget
 {
+private:
+       SharedLibrary *shared_lib;
+
 public:
        ImportLibrary(Builder &, const Msp::FS::Path &);
+       ImportLibrary(Builder &, const Component &, SharedLibrary &, ExportDefinitions &);
+private:
+       static std::string generate_filename(const Component &, const SharedLibrary &);
+
+public:
+       const char *get_type() const override { return "ImportLibrary"; }
 
-       virtual const char *get_type() const { return "ImportLibrary"; }
+       SharedLibrary *get_shared_library() const { return shared_lib; }
 };
 
 #endif