X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fimportlibrary.h;h=aac11f94f18ae04c78f907a33f2918f59c9a72b6;hb=bc85cc286c8a3f1055f1979a7ff8697cf1b61912;hp=86d26f45d201981f52f82f2c4d22bb245fefa71f;hpb=728b2f65fadd5fb5f000d908efa414027123f964;p=builder.git diff --git a/source/importlibrary.h b/source/importlibrary.h index 86d26f4..aac11f9 100644 --- a/source/importlibrary.h +++ b/source/importlibrary.h @@ -3,16 +3,25 @@ #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 &); virtual const char *get_type() const { return "ImportLibrary"; } + + SharedLibrary *get_shared_library() const { return shared_lib; } }; #endif