X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsharedlibrary.h;h=c40bccd3bfde548e21efdf2d7b132c93e1eb835b;hb=HEAD;hp=c2fa985c7dcfd5d6d84ea76e09180a7c226c8ebe;hpb=2606b03da59dc10e3826b833a2fceb0831d79972;p=builder.git diff --git a/source/sharedlibrary.h b/source/sharedlibrary.h deleted file mode 100644 index c2fa985..0000000 --- a/source/sharedlibrary.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef SHAREDLIB_H_ -#define SHAREDLIB_H_ - -#include "binary.h" - -/** -Represents a shared library. It has two special properties: libname and -soname. Libname is the name used by the linker. Soname is the canonical -filename of the library, including version number. If the owning package has -no version, soname will be empty. -*/ -class SharedLibrary: public Binary -{ -private: - std::string libname; - std::string soname; - -public: - SharedLibrary(Builder &, const Msp::FS::Path &); - SharedLibrary(Builder &, const Component &, const std::list &); - - virtual const char *get_type() const { return "SharedLibrary"; } - const std::string &get_libname() const { return libname; } - const std::string &get_soname() const { return soname; } - -private: - static std::string generate_filename(const Component &); - std::string create_soname(const Component &); -}; - -#endif